summaryrefslogtreecommitdiff
path: root/lib/std/test/bigint.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/test/bigint.myr')
-rw-r--r--lib/std/test/bigint.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/test/bigint.myr b/lib/std/test/bigint.myr
index ba8eaa1..33e1b91 100644
--- a/lib/std/test/bigint.myr
+++ b/lib/std/test/bigint.myr
@@ -35,7 +35,7 @@ const main = {
std.bigfree(e)
n = std.bigbfmt(buf[:], a, 0)
- std.assert(std.sleq(buf[:n], "517347321949036993306"), "simple smoke test failed")
+ std.assert(std.eq(buf[:n], "517347321949036993306"), "simple smoke test failed")
/* some comparison tests */
a = try(std.bigparse("1234_5678_1234_6789_6666_7777_8888"))
@@ -119,7 +119,7 @@ const run = {e : cmd#, res : byte[:]
v = eval(e)
n = std.bigbfmt(buf[:], v, 0)
- if !std.sleq(buf[:n], res)
+ if !std.eq(buf[:n], res)
std.fatal("{} != {}\n", buf[:n], res)
;;
}