rlp/rlpgen: print want/expect output string if mismatch (#26932)
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
This commit is contained in:
parent
0137bd69c5
commit
792d893ed0
@ -75,7 +75,7 @@ func TestOutput(t *testing.T) {
|
||||
t.Fatal("error loading expected test output:", err)
|
||||
}
|
||||
if !bytes.Equal(output, wantOutput) {
|
||||
t.Fatal("output mismatch:\n", string(output))
|
||||
t.Fatalf("output mismatch, want: %v got %v", string(wantOutput), string(output))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user