imports: fix formatting directive error found by go vet

Change-Id: Ib702ecf928b84bfc18ec250adc1d3670c66cfead
Reviewed-on: https://go-review.googlesource.com/36852
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
haya14busa 2017-02-13 02:06:11 +09:00 committed by Brad Fitzpatrick
parent 44492e23b4
commit 13507735c4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func testFastWalk(t *testing.T, files map[string]string, callback func(path stri
mu.Lock()
defer mu.Unlock()
if !strings.HasPrefix(path, t.gopath) {
t.Fatal("bogus prefix on %q, expect %q", path, t.gopath)
t.Fatalf("bogus prefix on %q, expect %q", path, t.gopath)
}
key := filepath.ToSlash(strings.TrimPrefix(path, t.gopath))
if old, dup := got[key]; dup {