aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaytan Laats <laytanlaats@hotmail.com>2023-09-01 19:53:24 +0200
committerLaytan Laats <laytanlaats@hotmail.com>2023-09-01 19:53:24 +0200
commitaab2fa1af9a0c65f9ec5a77eef90801ffa7bd4b8 (patch)
treef80395f9192b702a2a10b3ee60a480dd8b561f50
parent4cf176de0b8edfbb1c7c1c63d8e1a35eb20653b5 (diff)
fix test case
-rw-r--r--tests/core/fmt/test_core_fmt.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/fmt/test_core_fmt.odin b/tests/core/fmt/test_core_fmt.odin
index e9acfa3a5..8928338b3 100644
--- a/tests/core/fmt/test_core_fmt.odin
+++ b/tests/core/fmt/test_core_fmt.odin
@@ -51,7 +51,7 @@ test_fmt_memory :: proc(t: ^testing.T) {
check(t, "3.000 mb", "%#.3m", mem.Megabyte * 3)
check(t, "3.50 gb", "%#m", u32(mem.Gigabyte * 3.5))
check(t, "001tb", "%5.0m", mem.Terabyte)
- check(t, "-001tb", "%5.0m", -mem.Terabyte)
+ check(t, "-01tb", "%5.0m", -mem.Terabyte)
check(t, "2.50 pb", "%#5.m", uint(mem.Petabyte * 2.5))
check(t, "1.00 EB", "%#M", mem.Exabyte)
check(t, "255 B", "%#M", u8(255))