summaryrefslogtreecommitdiff
path: root/tests/typ/code
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-16 17:56:23 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-16 17:56:36 +0200
commita741bd6b83d1e374c8218b5439e26522499cc4ae (patch)
tree796ef8b8ae2186a082f37a2aa4732c9bba7d2bdf /tests/typ/code
parent6536e9e069616b862ebb774c7bef1b886c069350 (diff)
Absolute paths
Diffstat (limited to 'tests/typ/code')
-rw-r--r--tests/typ/code/import.typ4
-rw-r--r--tests/typ/code/include.typ4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/code/import.typ b/tests/typ/code/import.typ
index dab91dae..aef5e9c4 100644
--- a/tests/typ/code/import.typ
+++ b/tests/typ/code/import.typ
@@ -38,11 +38,11 @@
#import a, c, from "target.typ"
---
-// Error: 19-21 file not found
+// Error: 19-21 file not found (searched at typ/code)
#import name from ""
---
-// Error: 16-27 file not found
+// Error: 16-27 file not found (searched at typ/code/lib/0.2.1)
#import * from "lib/0.2.1"
---
diff --git a/tests/typ/code/include.typ b/tests/typ/code/include.typ
index 3510cb06..cd3328a2 100644
--- a/tests/typ/code/include.typ
+++ b/tests/typ/code/include.typ
@@ -6,7 +6,7 @@
= Document
// Include a file
-#include "importable/chap1.typ"
+#include "/typ/code/importable/chap1.typ"
// Expression as a file name.
#let chap2 = include "import" + "able/chap" + "2.typ"
@@ -16,7 +16,7 @@
---
{
- // Error: 19-41 file not found
+ // Error: 19-41 file not found (searched at typ/code/importable/chap3.typ)
let x = include "importable/chap3.typ"
}