Commit d4507d44 authored by Rob Pike's avatar Rob Pike

archive/zip: fix Fatal call

Error found by govet.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5142048
parent 7b1c1811
......@@ -86,7 +86,7 @@ func testCreate(t *testing.T, w *Writer, wt *WriteTest) {
func testReadFile(t *testing.T, f *File, wt *WriteTest) {
if f.Name != wt.Name {
t.Fatal("File name: got %q, want %q", f.Name, wt.Name)
t.Fatalf("File name: got %q, want %q", f.Name, wt.Name)
}
testFileMode(t, f, wt.Mode)
rc, err := f.Open()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment