Unverified Commit 792d893e authored by ucwong's avatar ucwong Committed by GitHub

rlp/rlpgen: print want/expect output string if mismatch (#26932)

Co-authored-by: 's avatarMarius van der Wijden <m.vanderwijden@live.de>
parent 0137bd69
......@@ -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))
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment