diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-12-17 00:20:27 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-12-17 00:20:27 +0100 |
| commit | 81e80ecfba80f5bffab45719c1f2aba4f9b91b4f (patch) | |
| tree | 03452a7ef0361f24159a60c93fb543263afb91e3 /tests/typ/image-error.typ | |
| parent | 2336aeb4c32864f53a4d4e0f72e54a174df47a60 (diff) | |
Test [page] function 📕
- Make page break behaviour more consistent
- Allow skipping reference image testing for single tests with `// compare-ref: false` (useful for tests which only check error messages)
Diffstat (limited to 'tests/typ/image-error.typ')
| -rw-r--r-- | tests/typ/image-error.typ | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/typ/image-error.typ b/tests/typ/image-error.typ index 4fde4ab2..9a7f2c40 100644 --- a/tests/typ/image-error.typ +++ b/tests/typ/image-error.typ @@ -1,5 +1,8 @@ -// error: 5:9-5:30 failed to load image +// Test error cases of the `image` function. + +// compare-ref: false // error: 8:9-8:30 failed to load image +// error: 11:9-11:30 failed to load image // File does not exist. [image: "path/does/not/exist"] |
