From a741bd6b83d1e374c8218b5439e26522499cc4ae Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 16 May 2022 17:56:23 +0200 Subject: Absolute paths --- tests/typ/code/import.typ | 4 ++-- tests/typ/code/include.typ | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/typ/code') 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" } -- cgit v1.2.3