go modules, drop govendor, fix tests
The tests still called _parse, which was renamed to ParseFile in
13cd30b, so they no longer compiled.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -83,7 +83,7 @@ func TestFileMove(t *testing.T) {
|
||||
if err := os.Chtimes(test.path, test.ts, test.ts); err != nil {
|
||||
t.Fatalf("chtime fail: %v", err)
|
||||
}
|
||||
m, err := _parse(test.path)
|
||||
m, err := ParseFile(test.path)
|
||||
if err != nil {
|
||||
t.Fatalf("problem parsing known good png: %v", err)
|
||||
}
|
||||
@@ -131,7 +131,7 @@ func TestBadFiles(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, test := range tests {
|
||||
_, err := _parse(test.path)
|
||||
_, err := ParseFile(test.path)
|
||||
if err == nil {
|
||||
t.Fatalf("should have had an error in parse of %q, got nil", test.path)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user