mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-14 17:47:37 -05:00
Fix incorrect diff error messages in tests
This commit is contained in:
@ -102,7 +102,7 @@ func testRun(inputFile, reportFile string, config TestConfig, t *testing.T) {
|
||||
}
|
||||
|
||||
if diff := cmp.Diff(output.String(), string(wantReport)); diff != "" {
|
||||
t.Errorf("Unexpected report diff (-got, +want):\n%v", diff)
|
||||
t.Errorf("Unexpected report diff (-want, +got):\n%v", diff)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user