More robust threads test
parent
d425844485
commit
4ffac018a1
|
@ -4,7 +4,7 @@ words ;
|
|||
IN: threads.tests
|
||||
|
||||
3 "x" set
|
||||
namespace [ [ yield 2 "x" set ] bind ] curry "Test" spawn drop
|
||||
[ 2 "x" set ] "Test" spawn drop
|
||||
[ 2 ] [ yield "x" get ] unit-test
|
||||
[ ] [ [ flush ] "flush test" spawn drop flush ] unit-test
|
||||
[ ] [ [ "Errors, errors" throw ] "error test" spawn drop ] unit-test
|
||||
|
|
Loading…
Reference in New Issue