mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 16:05:27 +03:00
tests: make pass
This commit is contained in:
parent
21acf4fdb5
commit
fb2919594f
File diff suppressed because it is too large
Load Diff
@ -50,9 +50,11 @@
|
|||||||
%& ~
|
%& ~
|
||||||
%| ['expected success - failed' p.b]
|
%| ['expected success - failed' p.b]
|
||||||
==
|
==
|
||||||
:: $test-chain: a sequence of tests to be run
|
:: $a-test-chain: a sequence of tests to be run
|
||||||
::
|
::
|
||||||
+$ test-chain
|
:: NB: arms shouldn't start with `test-` so that `-test % ~` runs
|
||||||
|
::
|
||||||
|
+$ a-test-chain
|
||||||
$_
|
$_
|
||||||
|?
|
|?
|
||||||
?: =(0 0)
|
?: =(0 0)
|
||||||
@ -61,7 +63,7 @@
|
|||||||
:: +run-chain: run a sequence of tests, stopping at first failure
|
:: +run-chain: run a sequence of tests, stopping at first failure
|
||||||
::
|
::
|
||||||
++ run-chain
|
++ run-chain
|
||||||
|= seq=test-chain
|
|= seq=a-test-chain
|
||||||
^- tang
|
^- tang
|
||||||
=/ res $:seq
|
=/ res $:seq
|
||||||
?- -.res
|
?- -.res
|
||||||
|
Loading…
Reference in New Issue
Block a user