diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-03-07 17:07:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-07 16:07:52 +0000 |
| commit | 1fa0f2f0f025bd5b0968f6cfc4a692916f31b24b (patch) | |
| tree | 57d06e59a3525f50a8ed1cdb8b467f7d772741a5 /tests/typ | |
| parent | 1d32145319211b6faed1f2ce4892347fde7a3f50 (diff) | |
Remove `safe_div` (#3572)
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/bugs/measure-image.typ | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/bugs/measure-image.typ b/tests/typ/bugs/measure-image.typ new file mode 100644 index 00000000..bd8703b3 --- /dev/null +++ b/tests/typ/bugs/measure-image.typ @@ -0,0 +1,8 @@ +// Test that image measurement doesn't turn `inf / some-value` into 0pt. +// Ref: false + +--- +#context { + let size = measure(image("/assets/images/tiger.jpg")) + test(size, (width: 1024pt, height: 670pt)) +} |
