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:
parent
44492e23b4
commit
13507735c4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue