fix regrettion in utils tests introduced by #980

Upstream-commit: eca9f9c1a1e436167eb660ad700f3f9f5189bae4
Component: engine
This commit is contained in:
Victor Vieux
2013-06-24 16:12:39 +00:00
parent cdfb5a925c
commit ab69a9cf4c

View File

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