Skip to content

Commit 9c0bafa

Browse files
committed
v2: fix print error in test
Signed-off-by: Pires <[email protected]>
1 parent 37cfeaf commit 9c0bafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ var invalidParseV2Tests = []struct {
106106
func TestParseV2Invalid(t *testing.T) {
107107
for _, tt := range invalidParseV2Tests {
108108
if _, err := Read(tt.reader); err != tt.expectedError {
109-
t.Fatalf("TestParseV2Invalid: expected %s, actual %s", tt.expectedError, err)
109+
t.Fatalf("TestParseV2Invalid: expected %s, actual %s", tt.expectedError, err.Error())
110110
}
111111
}
112112
}

0 commit comments

Comments
 (0)