parse_test.go: still display file name in case of error
This commit is contained in:
parent
c12e9eea3a
commit
944c00900e
|
@ -346,7 +346,7 @@ func TestParse(t *testing.T) {
|
|||
tpl.RawContents = nil
|
||||
}
|
||||
if diff := cmp.Diff(tpl, tc.Result); diff != "" {
|
||||
t.Fatalf("[%d]bad: %v", i, diff)
|
||||
t.Fatalf("[%d]bad: %s\n%v", i, tc.File, diff)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue