소스 검색

Fixed Errorf formatting in UUID test

Dan Forest 11 년 전
부모
커밋
f8e26b9c18
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      uuid_test.go

+ 1 - 1
uuid_test.go

@@ -66,7 +66,7 @@ func TestPredefinedUUID(t *testing.T) {
 		}
 		expectedJson := `"` + testsUUID[i].input + `"`
 		if string(json) != expectedJson {
-			t.Errorf("MarshalJSON #%d: expected %d got %d", i, expectedJson, string(json))
+			t.Errorf("MarshalJSON #%d: expected %v got %v", i, expectedJson, string(json))
 		}
 	}
 }