summaryrefslogtreecommitdiff
path: root/tests/typ/code/include.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-29 13:37:25 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-29 14:18:13 +0100
commit0efe669278a5e1c3f2985eba2f3360e91159c54a (patch)
tree502712857c48f0decb5e698257c0a96d358a436e /tests/typ/code/include.typ
parent836692e73cff0356e409a9ba5b4887b86809d4ca (diff)
Reorganize library and tests
Diffstat (limited to 'tests/typ/code/include.typ')
-rw-r--r--tests/typ/code/include.typ32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/typ/code/include.typ b/tests/typ/code/include.typ
deleted file mode 100644
index e862adac..00000000
--- a/tests/typ/code/include.typ
+++ /dev/null
@@ -1,32 +0,0 @@
-// Test module includes.
-
----
-#set page(width: 200pt)
-
-= Document
-
-// Include a file
-#include "/typ/code/importable/chap1.typ"
-
-// Expression as a file name.
-#let chap2 = include "import" + "able/chap" + "2.typ"
-
--- _Intermission_ --
-#chap2
-
----
-{
- // Error: 19-41 file not found (searched at typ/code/importable/chap3.typ)
- let x = include "importable/chap3.typ"
-}
-
----
-#include "importable/chap1.typ"
-
-// The variables of the file should not appear in this scope.
-// Error: 1-6 unknown variable
-#name
-
----
-// Error: 18 expected semicolon or line break
-#include "hi.typ" Hi