mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix regrettion in utils tests introduced by #980
This commit is contained in:
parent
aee845682f
commit
eca9f9c1a1
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue