aboutsummaryrefslogtreecommitdiff
path: root/testdata/parse/negation.txt
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-04-03 06:34:47 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-04-03 06:34:47 +0200
commit38b60098e42b4a899eb574f65fa14d4fdbe82f9b (patch)
tree3956fe1ab8107c5feb043fd466a969da8f5b1f9a /testdata/parse/negation.txt
parentd20acec5efcad4b3cd493f914d10e3d11cdfee4d (diff)
downloadele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.tar.gz
ele-38b60098e42b4a899eb574f65fa14d4fdbe82f9b.zip
Init
Diffstat (limited to 'testdata/parse/negation.txt')
-rw-r--r--testdata/parse/negation.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/testdata/parse/negation.txt b/testdata/parse/negation.txt
new file mode 100644
index 0000000..588ca6e
--- /dev/null
+++ b/testdata/parse/negation.txt
@@ -0,0 +1,33 @@
+# Negation tests.
+-- negation1.test --
+-a < 1
+-- negation1.out --
+minus
+ compare <
+ a
+ 1
+-- negation2.test --
+NOT a > 3
+-- negation2.out --
+not
+ compare >
+ a
+ 3
+-- negation3.test --
+-foo=(bar OR baz)
+-- negation3.out --
+minus
+ compare =
+ foo
+ disjunction
+ bar
+ baz
+-- negation4.test --
+NOT foo=(bar OR baz)
+-- negation4.out --
+not
+ compare =
+ foo
+ disjunction
+ bar
+ baz