Merge pull request #1003 from dotcloud/fix_utils_tests
fix regression in utils tests introduced by #980 Upstream-commit: a3cb18d0f058df47fd4822508a53c0bb7d1af3d4 Component: engine
This commit is contained in:
@ -265,8 +265,8 @@ func TestCompareKernelVersion(t *testing.T) {
|
||||
func TestHumanSize(t *testing.T) {
|
||||
|
||||
size1000 := HumanSize(1000)
|
||||
if size1000 != "1 kB" {
|
||||
t.Errorf("1000 -> expected 1 kB, got %s", size1000)
|
||||
if size1000 != " 1 kB" {
|
||||
t.Errorf("1000 -> expected 1 kB, got %s", size1000)
|
||||
}
|
||||
|
||||
size1024 := HumanSize(1024)
|
||||
|
||||
Reference in New Issue
Block a user