mirror of
https://github.com/typst/typst
synced 2025-05-14 04:56:26 +08:00
- 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)
12 lines
271 B
XML
12 lines
271 B
XML
// 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"]
|
|
|
|
// File exists, but is no image.
|
|
[image: "typ/image-error.typ"]
|