diff options
author | Peter Bex <peter@more-magic.net> | 2019-05-05 11:30:31 +0200 |
---|---|---|
committer | Peter Bex <peter@more-magic.net> | 2019-05-05 11:30:31 +0200 |
commit | 41d734f1c09581b16ae3bf97a67482d1ee37557c (patch) | |
tree | e865bf11a94a8a8411573fabfba8b00a94082c50 | |
parent | dd01f37c43ba8df952cc0f5fd0176691ada1592b (diff) | |
download | intarweb-41d734f1c09581b16ae3bf97a67482d1ee37557c.tar.gz |
Fix tests with CHICKEN 5.0.22.0.1
Keywords can't be (ab)used as identifier anymore, so we can't bind
expression: with let-syntax. Instead, simply use the plain symbol.
-rw-r--r-- | tests/run.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.scm b/tests/run.scm index 9842bc5..d97f15d 100644 --- a/tests/run.scm +++ b/tests/run.scm @@ -10,13 +10,13 @@ (define-syntax test-error* (syntax-rules () ((_ ?msg (?error-type ...) ?expr) - (let-syntax ((expression: + (let-syntax ((expression (syntax-rules () ((_ ?expr) (condition-case (begin ?expr "<no error thrown>") ((?error-type ...) '(?error-type ...)) (exn () (##sys#slot exn 1))))))) - (test ?msg '(?error-type ...) (expression: ?expr)))) + (test ?msg '(?error-type ...) (expression ?expr)))) ((_ ?msg ?error-type ?expr) (test-error* ?msg (?error-type) ?expr)) ((_ ?error-type ?expr) |