aboutsummaryrefslogtreecommitdiff
path: root/tests/eval/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/eval/buildfile')
-rw-r--r--tests/eval/buildfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/eval/buildfile b/tests/eval/buildfile
index cf315b6..06fb5fb 100644
--- a/tests/eval/buildfile
+++ b/tests/eval/buildfile
@@ -12,3 +12,33 @@ print ((foo) (bar))
print (foo\
bar)
+
+# !=, == vs !, = recognition
+#
+print (=)
+print (!)
+print (= foo)
+print (foo!)
+
+# !=, == evaluation
+#
+
+# print ( == bar)
+# print (foo == )
+
+print (foo == bar)
+print (foo == foo)
+print (foo != bar)
+print (foo != foo)
+
+print (foo == (foo))
+print ((foo bar) == foo bar)
+print (foo != foo bar)
+print ("" == '')
+
+print ((foo != bar) baz)
+print "foo equals bar is (foo == bar)"
+
+foo = foo
+print ($foo == foo)
+print (bar != $foo)