]> gitweb.factorcode.org Git - factor.git/commitdiff
debugger: simplify test case.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 Dec 2014 19:52:52 +0000 (11:52 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 Dec 2014 19:52:52 +0000 (11:52 -0800)
basis/debugger/debugger-tests.factor

index 568417a0992a2ac9c0fad795fae492efc1b22a50..2858fb43d1f0bbbc9194a3d9457b20f91570e55a 100644 (file)
@@ -1,5 +1,5 @@
-USING: accessors alien.syntax arrays continuations debugger\r
-kernel namespaces tools.test ;\r
+USING: accessors alien.syntax continuations debugger kernel\r
+namespaces tools.test ;\r
 IN: debugger.tests\r
 \r
 [ ] [ [ drop ] [ error. ] recover ] unit-test\r
@@ -40,9 +40,6 @@ T{ test-failure
 } error.\r
 ] unit-test\r
 \r
-[\r
-    { "kernel-error" 3 0 "hi" }\r
-    { 1 2 3 { "kernel-error" 3 0 "hi" } }\r
-] [\r
-    [ 1 2 3 "hi" f <array> ] [ ] recover error-continuation get data>>\r
+[ "foo" { 1 2 3 "foo" } ] [\r
+    [ 1 2 3 "foo" throw ] [ ] recover error-continuation get data>>\r
 ] unit-test\r