Progress, but there's something wrong with nlambdas
This commit is contained in:
parent
11409301da
commit
cec32eff54
12 changed files with 288 additions and 204 deletions
16
unit-tests/varargs.sh
Normal file
16
unit-tests/varargs.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
expected='(lambda l l)(1 2 3 4 5 6 7 8 9 10)'
|
||||
actual=`target/psse 2>/dev/null <<EOF
|
||||
(set! list (lambda l l))
|
||||
(list 1 2 3 4 5 6 7 8 9 10)
|
||||
EOF`
|
||||
|
||||
if [ "${expected}" = "${actual}" ]
|
||||
then
|
||||
echo "OK"
|
||||
exit 0
|
||||
else
|
||||
echo "Fail: expected '${expected}', got '${actual}'"
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue