summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/include.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-04-13 10:39:45 +0200
committerGitHub <noreply@github.com>2024-04-13 08:39:45 +0000
commit020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch)
treec0027ad22046e2726c22298461327823d6b88d53 /tests/typ/compiler/include.typ
parent72dd79210602ecc799726fc096b078afbb47f299 (diff)
Better test runner (#3922)
Diffstat (limited to 'tests/typ/compiler/include.typ')
-rw-r--r--tests/typ/compiler/include.typ32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/typ/compiler/include.typ b/tests/typ/compiler/include.typ
deleted file mode 100644
index 586e869b..00000000
--- a/tests/typ/compiler/include.typ
+++ /dev/null
@@ -1,32 +0,0 @@
-// Test module includes.
-
----
-#set page(width: 200pt)
-
-= Document
-
-// Include a file
-#include "modules/chap1.typ"
-
-// Expression as a file name.
-#let chap2 = include "modu" + "les/chap" + "2.typ"
-
--- _Intermission_ --
-#chap2
-
----
-#{
- // Error: 19-38 file not found (searched at typ/compiler/modules/chap3.typ)
- let x = include "modules/chap3.typ"
-}
-
----
-#include "modules/chap1.typ"
-
-// The variables of the file should not appear in this scope.
-// Error: 2-6 unknown variable: name
-#name
-
----
-// Error: 18 expected semicolon or line break
-#include "hi.typ" Hi