Skip to content

Commit 35d98a9

Browse files
committed
Fix testing framework.
1 parent f590b48 commit 35d98a9

File tree

1 file changed

+2
-2
lines changed
  • Sources/LispKit/Resources/Libraries/lispkit

1 file changed

+2
-2
lines changed

Sources/LispKit/Resources/Libraries/lispkit/test.sld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
(export test-begin
2626
test-end
27+
test-failures
2728
test
2829
test-equal
2930
test-assert
@@ -158,8 +159,7 @@
158159
(syntax-rules ()
159160
((_ name expr)
160161
(run-equal name
161-
(lambda () (with-exception-handler (lambda (e) internal-fail-token)
162-
(lambda () expr)))
162+
(lambda () (guard (e (#t internal-fail-token)) expr))
163163
internal-fail-token
164164
eq?))
165165
((_ expr)

0 commit comments

Comments
 (0)