瀏覽代碼

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