We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b91a580 commit a6d5793Copy full SHA for a6d5793
godump_test.go
@@ -515,7 +515,6 @@ func (fd FriendlyDuration) String() string {
515
}
516
517
func TestTheKitchenSink(t *testing.T) {
518
-
519
type Inner struct {
520
ID int
521
Notes []string
@@ -788,8 +787,8 @@ func TestFdump_WritesToWriter(t *testing.T) {
788
787
func TestHexDumpRendering(t *testing.T) {
789
input := []byte(`{"error":"kek","last_error":"not implemented","lol":"ok"}`)
790
output := DumpStr(input)
791
- fmt.Println(output) // For debugging purposes
792
output = stripANSI(output)
+ Dump(input)
793
794
if !strings.Contains(output, "7b 22 65 72 72 6f 72") {
795
t.Error("expected hex dump output missing")
0 commit comments