From ca7acc29df41413dcd95bda7ff9e7f91430ec04b Mon Sep 17 00:00:00 2001 From: slava Date: Thu, 6 Jul 2006 03:31:30 +0000 Subject: [PATCH] Add unit test to ensure segfault handler works --- library/test/errors.factor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/test/errors.factor b/library/test/errors.factor index fe421ff6c1..c0bfbdec78 100644 --- a/library/test/errors.factor +++ b/library/test/errors.factor @@ -8,6 +8,8 @@ USE: parser USE: io USE: memory +[ clear drop ] unit-test-fails + [ f ] [ [ ] catch ] unit-test [ 5 ] [ [ 5 throw ] catch ] unit-test