generate: Make output of testGenerateRun easier to compare
This commit is contained in:
parent
2c57423838
commit
272e47224d
@ -47,7 +47,7 @@ func testGenerateRun(test *testing.T, protocol *Protocol, imports string, testCa
|
||||
if err != nil { log.Fatalf("at %d: %v\n", n, err) }
|
||||
encoder.Flush()
|
||||
got := buffer.Bytes()
|
||||
log.Println("got: ", tu.HexBytes(got))
|
||||
log.Printf("got: [%s]", tu.HexBytes(got))
|
||||
log.Println("correct:", correct)
|
||||
if n != len(got) {
|
||||
log.Fatalf("n incorrect: %d != %d\n", n, len(got))
|
||||
|
Loading…
Reference in New Issue
Block a user