From 30ae8b046bc7b17becba1b2958b2a67d4e7e228e Mon Sep 17 00:00:00 2001 From: Antonio Murdaca Date: Sun, 20 Sep 2015 02:39:44 +0200 Subject: [PATCH] pkg: integration: utils_test: fix int format Signed-off-by: Antonio Murdaca --- integration/utils_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration/utils_test.go b/integration/utils_test.go index 5346c1f..c573b25 100644 --- a/integration/utils_test.go +++ b/integration/utils_test.go @@ -355,7 +355,7 @@ func TestRandomUnixTmpDirPath(t *testing.T) { } } -func TestConsumeWithSpeedWith(t *testing.T) { +func TestConsumeWithSpeed(t *testing.T) { reader := strings.NewReader("1234567890") chunksize := 2 @@ -365,7 +365,7 @@ func TestConsumeWithSpeedWith(t *testing.T) { } if bytes1 != 10 { - t.Fatalf("Expected to have read 10 bytes, got %s", bytes1) + t.Fatalf("Expected to have read 10 bytes, got %d", bytes1) } } @@ -387,7 +387,7 @@ func TestConsumeWithSpeedWithStop(t *testing.T) { } if bytes1 != 2 { - t.Fatalf("Expected to have read 2 bytes, got %s", bytes1) + t.Fatalf("Expected to have read 2 bytes, got %d", bytes1) } }