aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-11 22:36:30 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-11 22:37:41 +0200
commitd026448edced5b71313629b9feaa9c38134e58e7 (patch)
treea81bb972c82d080d8028504e2c76992155eb2e40 /tests
parentAdd basic documentation of entry points. (diff)
downloadcalp-d026448edced5b71313629b9feaa9c38134e58e7.tar.gz
calp-d026448edced5b71313629b9feaa9c38134e58e7.tar.xz
Fix bug causing for's continue to not work.
Diffstat (limited to 'tests')
-rw-r--r--tests/test/util.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/test/util.scm b/tests/test/util.scm
index 41dbd7a3..bdd6e98e 100644
--- a/tests/test/util.scm
+++ b/tests/test/util.scm
@@ -71,8 +71,12 @@
'(x #f 2)
(for x in (iota 3)
(case x
- ((0) (continue 'x))
- ((1) (continue))
+ ((0)
+ (continue 'x)
+ (test-assert "Continue with value failed" #f))
+ ((1)
+ (continue)
+ (test-assert "Continue without value failed" #f))
(else x)))))
(test-equal "procedure label"