continuations.tests: test case for #1187
parent
378f208025
commit
5dc7cce253
|
@ -1,6 +1,6 @@
|
||||||
USING: kernel math namespaces io tools.test sequences vectors
|
USING: kernel math namespaces io tools.test sequences vectors
|
||||||
continuations debugger parser memory arrays words
|
continuations debugger parser memory arrays words
|
||||||
kernel.private accessors eval ;
|
kernel.private accessors eval splitting ;
|
||||||
IN: continuations.tests
|
IN: continuations.tests
|
||||||
|
|
||||||
: (callcc1-test) ( n obj -- n' obj )
|
: (callcc1-test) ( n obj -- n' obj )
|
||||||
|
@ -33,6 +33,11 @@ IN: continuations.tests
|
||||||
"Hello" =
|
"Hello" =
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
|
! #1187
|
||||||
|
[ ] [
|
||||||
|
minor-gc [ split-slice ] ignore-errors minor-gc
|
||||||
|
] unit-test
|
||||||
|
|
||||||
"!!! The following error is part of the test" print
|
"!!! The following error is part of the test" print
|
||||||
|
|
||||||
[ ] [ [ 6 [ 12 [ "2 car" ] ] ] print-error ] unit-test
|
[ ] [ [ 6 [ 12 [ "2 car" ] ] ] print-error ] unit-test
|
||||||
|
|
Loading…
Reference in New Issue