summaryrefslogtreecommitdiff
path: root/tests/lang/typ/expr-assoc.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/typ/expr-assoc.typ')
-rw-r--r--tests/lang/typ/expr-assoc.typ18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/lang/typ/expr-assoc.typ b/tests/lang/typ/expr-assoc.typ
deleted file mode 100644
index 19c56951..00000000
--- a/tests/lang/typ/expr-assoc.typ
+++ /dev/null
@@ -1,18 +0,0 @@
-// Test operator associativity.
-// Ref: false
-
----
-// Math operators are left-associative.
-#test(10 / 2 / 2 == (10 / 2) / 2, true)
-#test(10 / 2 / 2 == 10 / (2 / 2), false)
-#test(1 / 2 * 3, 1.5)
-
----
-// Assignment is right-associative.
-{
- let x = 1
- let y = 2
- x = y = "ok"
- test(x, none)
- test(y, "ok")
-}