diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:08:26 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:45:14 +0200 |
| commit | 712c00ecb72b67da2c0788e5d3eb4dcc6366b2a7 (patch) | |
| tree | f5d7ef4341a4728c980d020cc173fa6bb70feaff /tests/typ/code | |
| parent | 977ac77e6a3298be2644a8231e93acbef9f7f396 (diff) | |
Em units
Diffstat (limited to 'tests/typ/code')
| -rw-r--r-- | tests/typ/code/ops.typ | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/code/ops.typ b/tests/typ/code/ops.typ index b5a4d8d4..53cf488e 100644 --- a/tests/typ/code/ops.typ +++ b/tests/typ/code/ops.typ @@ -63,8 +63,8 @@ test(v + v, 2.0 * v) } - // Relative lengths cannot be divided by themselves. - if type(v) != "relative length" { + // Lengths cannot be divided by themselves. + if "length" not in type(v) { test(v / v, 1.0) test(v / v == 1, true) } |
