aboutsummaryrefslogtreecommitdiff
path: root/tests/utils.scm
diff options
context:
space:
mode:
authorArun Isaac2022-01-16 12:42:20 +0530
committerArun Isaac2022-01-16 13:17:06 +0530
commitb3f18dbf95d80d92a708f04be53b8d98b7980a80 (patch)
tree3aeee9583b25cef941c415f34aade707b3bf26b4 /tests/utils.scm
parent647f020ccd409e83320e8d11859035856770c91f (diff)
downloadccwl-b3f18dbf95d80d92a708f04be53b8d98b7980a80.tar.gz
ccwl-b3f18dbf95d80d92a708f04be53b8d98b7980a80.tar.lz
ccwl-b3f18dbf95d80d92a708f04be53b8d98b7980a80.zip
ccwl: Raise exceptions on input syntax errors.
* ccwl/ccwl.scm: Import (rnrs conditions), (rnrs exceptions) and (ccwl conditions). (input, input-spec-id): Raise &ccwl-violation conditions on syntax errors. * tests/ccwl.scm: Import (rnrs exceptions) and (ccwl conditions). (input): New function. ("input, when passed more than one positional argument, must raise a &ccwl-violation condition", "input, when passed an unrecognized keyword, must raise a &ccwl-violation condition", "input, when passed multiple arguments to a unary keyword, must raise a &ccwl-violation condition"): New tests.
Diffstat (limited to 'tests/utils.scm')
0 files changed, 0 insertions, 0 deletions