]> gitweb.factorcode.org Git - factor.git/commitdiff
debugger: adding a test case that breaks the fix for #1187.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 Dec 2014 19:45:57 +0000 (11:45 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 4 Dec 2014 19:46:28 +0000 (11:46 -0800)
basis/debugger/debugger-tests.factor

index 25b46c2fdb62dfafb81e241727bfd148e33abaae..568417a0992a2ac9c0fad795fae492efc1b22a50 100644 (file)
@@ -1,4 +1,5 @@
-USING: alien.syntax debugger kernel continuations tools.test ;\r
+USING: accessors alien.syntax arrays continuations debugger\r
+kernel namespaces tools.test ;\r
 IN: debugger.tests\r
 \r
 [ ] [ [ drop ] [ error. ] recover ] unit-test\r
@@ -38,3 +39,10 @@ T{ test-failure
     { continuation f }\r
 } 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
+] unit-test\r