Fix format string in test
This commit is contained in:
parent
f5e1bbad5a
commit
b03ff7cb9b
1 changed files with 2 additions and 2 deletions
|
|
@ -52,10 +52,10 @@ func TestMemInfo(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
if memInfo["MemTotal"] != memTotalExpected {
|
||||
t.Fatalf("Unexpected memory: %s != %s", memInfo["MemTotal"], memTotalExpected)
|
||||
t.Fatalf("Unexpected memory: %f != %d", memInfo["MemTotal"], memTotalExpected)
|
||||
}
|
||||
if memInfo["DirectMap2M"] != memDirectMap2MExpected {
|
||||
t.Fatalf("Unexpected memory: %s != %s", memInfo["MemTotal"], memTotalExpected)
|
||||
t.Fatalf("Unexpected memory: %f != %d", memInfo["MemTotal"], memTotalExpected)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue