소스 검색

Correction

Piotr Czajkowski 4 년 전
부모
커밋
70165bd6f9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")
 	}
 }