From b5aca803db4cf9adce0a037cc5ccc47c4c045510 Mon Sep 17 00:00:00 2001 From: Carlos Martín Nieto Date: Thu, 12 Sep 2013 10:46:20 +0200 Subject: 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. --- reference_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reference_test.go') 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 } -- cgit v1.2.3