summaryrefslogtreecommitdiff
path: root/tests/lang/typ/block-invalid.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-02-20 17:53:40 +0100
committerLaurenz <laurmaedje@gmail.com>2021-02-20 23:34:33 +0100
commit05727bfc3a9cfd45a8e2028dfd0806f7a8f88015 (patch)
tree6c0b66eb2a9dff224cb39eb6ccb478656a706c04 /tests/lang/typ/block-invalid.typ
parent927341d93ae29678095e3b874bd68bfc57d4bc05 (diff)
Reorganize tests 🔀
Diffstat (limited to 'tests/lang/typ/block-invalid.typ')
-rw-r--r--tests/lang/typ/block-invalid.typ37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/lang/typ/block-invalid.typ b/tests/lang/typ/block-invalid.typ
deleted file mode 100644
index d98bf06b..00000000
--- a/tests/lang/typ/block-invalid.typ
+++ /dev/null
@@ -1,37 +0,0 @@
-// Test invalid code block syntax.
-
----
-// Multiple unseparated expressions in one line.
-
-// Error: 2-4 expected expression, found invalid token
-{1u}
-
-// Should output `1`.
-// Error: 3 expected semicolon or line break
-{0 1}
-
-// Should output `2`.
-// Error: 2:12 expected semicolon or line break
-// Error: 1:22 expected semicolon or line break
-{let x = -1 let y = 3 x + y}
-
-// Should output `3`.
-{
- // Error: 9-12 expected identifier, found string
- for "v"
-
- // Error: 10 expected keyword `in`
- for v let z = 1 + 2
-
- z
-}
-
----
-// Ref: false
-// Error: 3:1 expected closing brace
-{
-
----
-// Ref: false
-// Error: 1-2 unexpected closing brace
-}