]> gitweb.factorcode.org Git - factor.git/commitdiff
math.integers: use must-fail instead of ignore-errors.
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 11 Jul 2016 03:28:28 +0000 (20:28 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 11 Jul 2016 03:28:28 +0000 (20:28 -0700)
core/math/integers/integers-tests.factor

index 0786bfda209589dfae4b0c3900ce845dbb193d68..3e91077c1fabed83b76f6b3b4057b9bda172107c 100644 (file)
@@ -141,8 +141,8 @@ IN: math.integers.tests
 
 ! We don't care if this fails or returns 0 (its CPU-specific)
 ! as long as it doesn't crash
-{ } [ [ 0 0 /i drop ] ignore-errors ] unit-test
-{ } [ [ 100000000000000000 0 /i drop ] ignore-errors ] unit-test
+[ 0 0 /i drop ] must-fail
+[ 100000000000000000 0 /i drop ] must-fail
 
 { -2 } [ 1 bitnot ] unit-test
 { -2 } [ 1 >bignum bitnot ] unit-test