test egg patch -- remove error behavior for compound expressions
Peter McGoron via Chicken-users <[email protected]> Sun, 8 Mar 2026 09:27:36 -0400
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
The "test" form in the test egg raises an error if the "expect" field is
compound. This makes it annoying-to-impossible to use "test" on quoted
symbols.
This patch removes this behavior.
-- Peter McGoron
--- test.scm
+++ test.scm
@@ -25,11 +25,6 @@
(test #f expect expr))
((test name expect (expr ...))
(test-info name expect (expr ...) ()))
- ((test name (expect ...) expr)
- (test-syntax-error
- 'test
- "the test expression should come last "
- (test name (expect ...) expr)))
((test name expect expr)
(test-info name expect expr ()))
((test a ...)