pkg: integration: utils_test: fix int format
Signed-off-by: Antonio Murdaca <runcom@linux.com>
This commit is contained in:
parent
a6d3018c00
commit
30ae8b046b
1 changed files with 3 additions and 3 deletions
|
@ -355,7 +355,7 @@ func TestRandomUnixTmpDirPath(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestConsumeWithSpeedWith(t *testing.T) {
|
func TestConsumeWithSpeed(t *testing.T) {
|
||||||
reader := strings.NewReader("1234567890")
|
reader := strings.NewReader("1234567890")
|
||||||
chunksize := 2
|
chunksize := 2
|
||||||
|
|
||||||
|
@ -365,7 +365,7 @@ func TestConsumeWithSpeedWith(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if bytes1 != 10 {
|
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 {
|
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)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue