diff --git a/tests/programs/out-of-memory.q b/tests/programs/out-of-memory.q index e9ead5b..4fe1fcd 100644 --- a/tests/programs/out-of-memory.q +++ b/tests/programs/out-of-memory.q @@ -1,6 +1,6 @@ import mem main() { - address := mem.alloc(1024 * 1024 * 1024 * 1024) - assert address < 0 || address == 12 + address := mem.alloc(1024 * 1024 * 1024 * 1024 * 1024) + assert address == -12 || address == 12 } \ No newline at end of file