diff options
| author | f3rn0s <ffc@null.net> | 2024-02-20 23:55:06 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 13:55:06 +0000 |
| commit | f1495de8bb6414fa6fe4da27c5a5b2cd3dd53cfa (patch) | |
| tree | 892f188369b888e7fdab9b12066c1d6c34e1e18c /tests/typ | |
| parent | b3ed2df27e7822fcb401b5444392973027e188c7 (diff) | |
Add module -> dictionary conversion (#3428)
Co-authored-by: f3rn0s <finn@volkis.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Co-authored-by: Ilia <43654815+istudyatuni@users.noreply.github.com>
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compiler/dict.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/compiler/dict.typ b/tests/typ/compiler/dict.typ index eca1c458..8a5be5cd 100644 --- a/tests/typ/compiler/dict.typ +++ b/tests/typ/compiler/dict.typ @@ -84,6 +84,11 @@ #test(dict, (a: 3, b: 1)) --- +// Test dictionary constructor +#dictionary(sys).at("version") +#dictionary(sys).at("no_crash", default: none) + +--- // Test that removal keeps order. #let dict = (a: 1, b: 2, c: 3, d: 4) #dict.remove("b") |
