Skip to content

Commit 4a026af

Browse files
committed
Test for abort in assert-raise for Gambit.
1 parent 2ac3eb3 commit 4a026af

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assert-test.scm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@
131131
(assert-raise "a" (lambda ()
132132
(raise "a"))))
133133

134+
(test-case "(assert-raise) on abort symbol"
135+
(assert-raise 'a (lambda ()
136+
(abort 'a))))
137+
138+
(test-case "(assert-raise) on abort string"
139+
(assert-raise "a" (lambda ()
140+
(abort "a"))))
141+
134142
(test-case "(assert-raise) on error symbol"
135143
(assert-raise 'a (lambda ()
136144
(error 'a))))

0 commit comments

Comments
 (0)