Skip to content

Commit

Permalink
refactor: try printing string(diff)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Aug 14, 2023
1 parent 050414c commit 441a859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glamour_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func TestWrapping(t *testing.T) {
}

if diff := cmp.Diff(string(got), string(want)); diff != "" {
t.Fatalf("got != want\n-want +got:\ndiff:\n%s", diff)
t.Fatalf("got != want\n-want +got:\ndiff:\n%s", string(diff))
}
})
}
Expand Down

0 comments on commit 441a859

Please sign in to comment.