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:
sm
2026-10-26 15:57:10 -07:00
co-authored by Claude Opus 5.5
parent 0359f8c288
commit dd1dd9d583
13 changed files with 9 additions and 1631 deletions
+2 -2
View File
@@ -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)
}