projects
/
muddle-interpreter.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement OBLISTs
[muddle-interpreter.git]
/
src
/
test_oblists
1
#!/bin/sh
2
3
assert_eq () {
4
[ "$1" = "$2" ] || ( echo Assertion failed: "\"$1\"" = "\"$2\""; exit 1 )
5
}
6
7
assert_eq foo "$(echo foo | ./muddle)"
8
assert_eq '(foo bar baz)' "$(echo '(foo bar baz)' | ./muddle)"
9
assert_eq '(foo foo foo)' "$(echo '(foo foo foo)' | ./muddle)"