From 0abb9e38f823b4c5c311f90868e010432a8976dd Mon Sep 17 00:00:00 2001
From: Peter Bex <peter@more-magic.net>
Date: Sun, 5 May 2019 11:33:26 +0200
Subject: Fix tests with CHICKEN 5.0.2

Keywords can't be (ab)used as identifier anymore, so we can't bind
expression: with let-syntax.  Instead, simply use the plain symbol.
---
 tests/testlib.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'tests')

diff --git a/tests/testlib.scm b/tests/testlib.scm
index 33ac2e2..92e69da 100644
--- a/tests/testlib.scm
+++ b/tests/testlib.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)
-- 
cgit v1.2.3