diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:04:08 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-07-30 18:49:19 +0200 |
| commit | 1ee1d078e2480ddd08d40915bc7a74a8352acff0 (patch) | |
| tree | 1e7ff367278a19fead3e404cf06d65bfb80a6cd9 /tests/typ/insert/image.typ | |
| parent | 42a27b48df427edf8dbb624c51551a90ecf2e7ea (diff) | |
Fatal errors
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free
- Parsing still recovers and can produce multiple errors
- Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import)
- The single error that could occur during execution is removed for now
- Removes Value::Error variant
Diffstat (limited to 'tests/typ/insert/image.typ')
| -rw-r--r-- | tests/typ/insert/image.typ | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/typ/insert/image.typ b/tests/typ/insert/image.typ index 35087c2e..84069949 100644 --- a/tests/typ/insert/image.typ +++ b/tests/typ/insert/image.typ @@ -10,12 +10,6 @@ // Load an RGB JPEG image. #image("../../res/tiger.jpg") -// Error: 8-29 file not found -#image("path/does/not/exist") - -// Error: 8-21 failed to load image -#image("./image.typ") - --- // Test configuring the size and fitting behaviour of images. @@ -36,3 +30,11 @@ // Make sure the bounding-box of the image is correct. #align(bottom, right, image("../../res/tiger.jpg", width: 60pt)) + +--- +// Error: 8-29 file not found +#image("path/does/not/exist") + +--- +// Error: 8-21 failed to load image +#image("./image.typ") |
