diff --git a/basis/stack-checker/transforms/transforms-tests.factor b/basis/stack-checker/transforms/transforms-tests.factor index bbe3cb2ed9..6ebbc5c015 100644 --- a/basis/stack-checker/transforms/transforms-tests.factor +++ b/basis/stack-checker/transforms/transforms-tests.factor @@ -78,7 +78,7 @@ MACRO: curry-folding-test ( quot -- ) \ bad-macro [ "OOPS" throw ] 0 define-transform -[ [ bad-macro ] infer ] [ f >>continuation T{ transform-expansion-error f "OOPS" f bad-macro } = ] must-fail-with +[ [ bad-macro ] infer ] [ [ transform-expansion-error? ] [ error>> "OOPS" = ] [ word>> \ bad-macro = ] tri and and ] must-fail-with MACRO: two-params ( a b -- c ) + 1quotation ; diff --git a/basis/tools/profiler/profiler-tests.factor b/basis/tools/profiler/profiler-tests.factor index 1a8ff824d6..a85d934506 100644 --- a/basis/tools/profiler/profiler-tests.factor +++ b/basis/tools/profiler/profiler-tests.factor @@ -58,7 +58,7 @@ IN: tools.profiler.tests [ ] [ [ [ ] compile-call ] profile ] unit-test -[ [ gensym execute ] profile ] [ T{ undefined } = ] must-fail-with +[ [ gensym execute ] profile ] [ undefined? ] must-fail-with : crash-bug-1 ( -- x ) "hi" ; : crash-bug-2 ( -- ) 100000 [ crash-bug-1 drop ] times ; diff --git a/core/kernel/kernel-tests.factor b/core/kernel/kernel-tests.factor index ded2ee9702..ca8aa8286b 100644 --- a/core/kernel/kernel-tests.factor +++ b/core/kernel/kernel-tests.factor @@ -127,38 +127,38 @@ IN: kernel.tests ! Test traceback accuracy : last-frame ( -- pair ) - error-continuation get call>> callstack>array 4 head* 2 tail* ; + error-continuation get call>> callstack>array 6 head* 3 tail* ; [ - { [ 1 2 [ 3 throw ] call 4 ] 3 } + { [ 1 2 [ 3 throw ] call 4 ] [ 1 2 [ 3 throw ] call 4 ] 3 } ] [ [ [ 1 2 [ 3 throw ] call 4 ] call ] ignore-errors last-frame ] unit-test [ - { [ 1 2 [ 3 throw ] dip 4 ] 3 } + { [ 1 2 [ 3 throw ] dip 4 ] [ 1 2 [ 3 throw ] dip 4 ] 3 } ] [ [ [ 1 2 [ 3 throw ] dip 4 ] call ] ignore-errors last-frame ] unit-test [ - { [ 1 2 3 throw [ ] call 4 ] 3 } + { [ 1 2 3 throw [ ] call 4 ] [ 1 2 3 throw [ ] call 4 ] 3 } ] [ [ [ 1 2 3 throw [ ] call 4 ] call ] ignore-errors last-frame ] unit-test [ - { [ 1 2 3 throw [ ] dip 4 ] 3 } + { [ 1 2 3 throw [ ] dip 4 ] [ 1 2 3 throw [ ] dip 4 ] 3 } ] [ [ [ 1 2 3 throw [ ] dip 4 ] call ] ignore-errors last-frame ] unit-test [ - { [ 1 2 3 throw [ ] [ ] if 4 ] 3 } + { [ 1 2 3 throw [ ] [ ] if 4 ] [ 1 2 3 throw [ ] [ ] if 4 ] 3 } ] [ [ [ 1 2 3 throw [ ] [ ] if 4 ] call ] ignore-errors last-frame