summaryrefslogtreecommitdiff
path: root/tests/typ/compiler
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-06-28 10:35:44 +0200
committerLaurenz <laurmaedje@gmail.com>2023-06-28 10:36:53 +0200
commit04bffc4f12ff7dd85d25f5fd65506440287f879c (patch)
tree311a78d174f95c6e4733e3eb17a40f78744c3854 /tests/typ/compiler
parent7b92bd7c340d9f9c094ed2fa57912049317d9b20 (diff)
Reintroduce `--root`
Diffstat (limited to 'tests/typ/compiler')
-rw-r--r--tests/typ/compiler/import.typ4
-rw-r--r--tests/typ/compiler/set.typ2
-rw-r--r--tests/typ/compiler/show-text.typ2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/compiler/import.typ b/tests/typ/compiler/import.typ
index 0f161766..7f6baee0 100644
--- a/tests/typ/compiler/import.typ
+++ b/tests/typ/compiler/import.typ
@@ -112,8 +112,8 @@
---
// Some non-text stuff.
-// Error: 9-21 file is not valid utf-8
-#import "/rhino.png"
+// Error: 9-27 file is not valid utf-8
+#import "/files/rhino.png"
---
// Unresolved import.
diff --git a/tests/typ/compiler/set.typ b/tests/typ/compiler/set.typ
index 99bb90d0..b317e60c 100644
--- a/tests/typ/compiler/set.typ
+++ b/tests/typ/compiler/set.typ
@@ -40,7 +40,7 @@ Hello *#x*
// Test relative path resolving in layout phase.
#let choice = ("monkey.svg", "rhino.png", "tiger.jpg")
#set enum(numbering: n => {
- let path = "/" + choice.at(n - 1)
+ let path = "/files/" + choice.at(n - 1)
move(dy: -0.15em, image(path, width: 1em, height: 1em))
})
diff --git a/tests/typ/compiler/show-text.typ b/tests/typ/compiler/show-text.typ
index 0f978563..e635574c 100644
--- a/tests/typ/compiler/show-text.typ
+++ b/tests/typ/compiler/show-text.typ
@@ -54,6 +54,6 @@ World
---
// Test absolute path in layout phase.
-#show "GRAPH": image("/graph.png")
+#show "GRAPH": image("/files/graph.png")
The GRAPH has nodes.