diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:35:44 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-06-28 10:36:53 +0200 |
| commit | 04bffc4f12ff7dd85d25f5fd65506440287f879c (patch) | |
| tree | 311a78d174f95c6e4733e3eb17a40f78744c3854 /tests/typ/compiler | |
| parent | 7b92bd7c340d9f9c094ed2fa57912049317d9b20 (diff) | |
Reintroduce `--root`
Diffstat (limited to 'tests/typ/compiler')
| -rw-r--r-- | tests/typ/compiler/import.typ | 4 | ||||
| -rw-r--r-- | tests/typ/compiler/set.typ | 2 | ||||
| -rw-r--r-- | tests/typ/compiler/show-text.typ | 2 |
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. |
