Fix unit tests

This commit is contained in:
Jan Eitzinger
2023-03-22 07:05:41 +01:00
parent 5d526e1168
commit a168efa8c8
5 changed files with 88 additions and 15 deletions

View File

@@ -251,8 +251,8 @@ func TestNormalizeValueNoPrefix(t *testing.T) {
if v != 104.00 {
t.Errorf("Failed ConvertValue: Want 104.00, Got %f", v)
}
if s != "MFlops/s" {
t.Errorf("Failed Prefix or unit: Want GB/s, Got %s", s)
if s != "MF/s" {
t.Errorf("Failed Prefix or unit: Want MF/s, Got %s", s)
}
}