Browse Source

Correction

Piotr Czajkowski 4 years ago
parent
commit
70165bd6f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rest_test.go

+ 1 - 1
rest_test.go

@@ -45,7 +45,7 @@ func TestJSONDecoderBadJSON(t *testing.T) {
 	}
 
 	if diff := deep.Equal(expected, result); diff == nil {
-		t.Errorf("Structures shouldn't match, %v", diff)
+		t.Error("Structures shouldn't match")
 	}
 }