فهرست منبع

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