tools.test: makes <test-failure> public
parent
02e7b16ae9
commit
216a1234c2
|
@ -31,9 +31,7 @@ T{ error-type-holder
|
|||
SYMBOL: verbose-tests?
|
||||
t verbose-tests? set-global
|
||||
|
||||
<PRIVATE
|
||||
|
||||
: <test-failure> ( error experiment file line# -- triple )
|
||||
: <test-failure> ( error experiment file line# -- test-failure )
|
||||
test-failure new
|
||||
swap >>line#
|
||||
swap >>path
|
||||
|
@ -41,6 +39,8 @@ t verbose-tests? set-global
|
|||
swap >>error
|
||||
error-continuation get >>continuation ;
|
||||
|
||||
<PRIVATE
|
||||
|
||||
: failure ( error experiment file line# -- )
|
||||
"--> test failed!" print
|
||||
<test-failure> test-failures get push
|
||||
|
|
Loading…
Reference in New Issue