Build fix for check.Check API change.

This commit is contained in:
Nigel Tao committed 2017-05-26 15:42:06 +10:00
1 parent 371abbde2e
commit 1d1f3bd46d
1 file changed
+2 -2
+2 -2
View File
@@ -93,7 +93,7 @@ func TestCheck(t *testing.T) {
t.Fatalf("compareToPuffsfmt: %v", err)
}
c, err := Check(idMap, file)
c, err := Check(idMap, 0, file)
if err != nil {
t.Fatalf("Check: %v", err)
}
@@ -190,7 +190,7 @@ func TestConstValues(t *testing.T) {
continue
}
c, err := Check(idMap, file)
c, err := Check(idMap, 0, file)
if err != nil {
t.Errorf("%q: Check: %v", s, err)
continue