summaryrefslogtreecommitdiff
path: root/tests/cond.right
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cond.right')
-rw-r--r--tests/cond.right37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/cond.right b/tests/cond.right
new file mode 100644
index 0000000..06f36a9
--- /dev/null
+++ b/tests/cond.right
@@ -0,0 +1,37 @@
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 0
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 1
+returns: 1
+returns: 1
+returns: 0
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 1
+returns: 0
+returns: 1
+returns: 1
+returns: 0
+./cond.tests: line 101: [[: 4+: syntax error: operand expected (error token is "+")
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+returns: 0
+returns: 1
+returns: 0
+ok
+ok 42
+ok 43