Skip to content

Commit

Permalink
cmd/gorename: fix test failure formatting.
Browse files Browse the repository at this point in the history
Change-Id: Idbfb356225f4650446bffa80a43cec4679bcd507
Reviewed-on: https://go-review.googlesource.com/75976
Reviewed-by: Alan Donovan <[email protected]>
  • Loading branch information
davidrjenni authored and adonovan committed Nov 6, 2017
1 parent 032dfd5 commit 9e72de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/gorename/gorename_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func modifiedFiles(t *testing.T, dir string, packages map[string][]string) (resu
file := filepath.Join(pkgDir, strconv.Itoa(i)+".go")
// read file contents and compare to val
if contents, err := ioutil.ReadFile(file); err != nil {
t.Fatal("File missing: %s", err)
t.Fatalf("File missing: %s", err)
} else if string(contents) != val {
results = append(results, strings.TrimPrefix(dir, file))
}
Expand Down

0 comments on commit 9e72de2

Please sign in to comment.