浏览代码

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")
 	}
 }