diff options
| author | Carlos Martín Nieto <[email protected]> | 2013-09-12 10:46:20 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2013-09-12 10:46:20 +0200 |
| commit | b5aca803db4cf9adce0a037cc5ccc47c4c045510 (patch) | |
| tree | 0280a0e5148bff28de858393bdfc1e1420d3b799 /reference_test.go | |
| parent | 00e3df94c7e06ab66fe4618d3252458163e4a404 (diff) | |
Give each const group a type
This allows us to restrict which constants the compiler will allow
through, and makes the sorting in the documentation better.
Diffstat (limited to 'reference_test.go')
| -rw-r--r-- | reference_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reference_test.go b/reference_test.go index 36387ee..b2acba7 100644 --- a/reference_test.go +++ b/reference_test.go @@ -144,7 +144,7 @@ func compareStringList(t *testing.T, expected, actual []string) { } } -func checkRefType(t *testing.T, ref *Reference, kind int) { +func checkRefType(t *testing.T, ref *Reference, kind ReferenceType) { if ref.Type() == kind { return } |
