go/cmd/textdump-tester/main.go | 6 ++++-- diff --git a/go/cmd/textdump-tester/main.go b/go/cmd/textdump-tester/main.go index 190b898dfd3510d44350553a17d8f31255b146c85b02542ea8f3bda2dda71482..b374b310c21ea6dfb5c7bc0262860136b16da07d8731dcb9877c84648c03dff0 100644 --- a/go/cmd/textdump-tester/main.go +++ b/go/cmd/textdump-tester/main.go @@ -138,7 +138,8 @@ if len(fields) > 1 { their = mustDecodeHex(fields[1]) } if !bytes.Equal(our, their) { - log.Fatalln("BIN differs:", our, their) + log.Fatalln("BIN differs:", + hex.EncodeToString(our), hex.EncodeToString(their)) } case "STR": our, ok := v.(string) @@ -212,7 +213,8 @@ if err != nil { log.Fatal(err) } if !bytes.Equal(our, their) { - log.Fatalln("BLOB differs:", our, their) + log.Fatalln("BLOB differs:", + hex.EncodeToString(our), hex.EncodeToString(their)) } case "LIST": our, ok := v.([]any)