diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-12 14:54:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-12 14:54:52 +0200 |
| commit | ccb4be4da4e8aeda115b22f2a0b586a86f5e31bd (patch) | |
| tree | 34d0ac1e53b78fb4a78d9ce6121db9181479669a /tests/typ/code/ops.typ | |
| parent | eaa3cbaa9c2b1564a4b0db013672245a1893314a (diff) | |
Make range-end exclusive
Diffstat (limited to 'tests/typ/code/ops.typ')
| -rw-r--r-- | tests/typ/code/ops.typ | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/typ/code/ops.typ b/tests/typ/code/ops.typ index ca328e75..d77c7503 100644 --- a/tests/typ/code/ops.typ +++ b/tests/typ/code/ops.typ @@ -163,12 +163,12 @@ // Test range operator. #let array = (1, 2, 3) -#test(1..3, array) -#test(1.. 3, array) -#test(1 ..3, array) -#test(1 .. 3, array) +#test(1..4, array) +#test(1.. 4, array) +#test(1 ..4, array) +#test(1 .. 4, array) -#test(-4..2, (-4, -3, -2, -1, 0, 1, 2)) +#test(-4..2, (-4, -3, -2, -1, 0, 1)) #test(10..5, ()) --- |
