From d026448edced5b71313629b9feaa9c38134e58e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 11 Sep 2023 22:36:30 +0200 Subject: Fix bug causing for's continue to not work. --- tests/test/util.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests') 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" -- cgit v1.2.3