aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-01-15 14:46:51 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-01-15 16:58:08 +0100
commit48490ca1e33429f3d2f81aac62c1819f6d2a6406 (patch)
tree3f31a173e4b9855a61e6e38e760e9ecd9e4e3b7a /tests
parent7a8af511ce36e102275242b9d7ff70bb0c5c8955 (diff)
downloadsylt-48490ca1e33429f3d2f81aac62c1819f6d2a6406.tar.gz
add another neg test
Diffstat (limited to 'tests')
-rw-r--r--tests/order-of-operations.tdy1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/order-of-operations.tdy b/tests/order-of-operations.tdy
index f739ccb..4f635b0 100644
--- a/tests/order-of-operations.tdy
+++ b/tests/order-of-operations.tdy
@@ -3,6 +3,7 @@
5 <=> 1 * 2 + 3
(1 + 2) * 3 <=> 9
//-
+-1 <=> 0 - 1
-1 + 2 <=> 1
-(1 + 2) <=> -3
1 + -1 <=> 0