diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-12-30 15:13:28 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-12-30 16:45:41 +0100 |
| commit | f70cea508cd30fa40770ea989fe2a19e715a357b (patch) | |
| tree | 731bb96b375dc8fd0f7e5a2a7e1d1fe5cb2a600e /tests/typ/compiler/set.typ | |
| parent | fe1f4400693690b68db5a7ec0976ba998624a740 (diff) | |
Remove index syntax in favor of accessor methods
Diffstat (limited to 'tests/typ/compiler/set.typ')
| -rw-r--r-- | tests/typ/compiler/set.typ | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/compiler/set.typ b/tests/typ/compiler/set.typ index 7414ad5e..034bfab8 100644 --- a/tests/typ/compiler/set.typ +++ b/tests/typ/compiler/set.typ @@ -40,7 +40,7 @@ Hello *{x}* // Test relative path resolving in layout phase. #let choice = ("monkey.svg", "rhino.png", "tiger.jpg") #set enum(numbering: n => { - let path = "../../res/" + choice(n - 1) + let path = "../../res/" + choice.at(n - 1) move(dy: -0.15em, image(path, width: 1em, height: 1em)) }) |
