diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/meta/state.png | bin | 52409 -> 53638 bytes | |||
| -rw-r--r-- | tests/typ/meta/state.typ | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/ref/meta/state.png b/tests/ref/meta/state.png Binary files differindex ca77fdc7..d179c3c5 100644 --- a/tests/ref/meta/state.png +++ b/tests/ref/meta/state.png diff --git a/tests/typ/meta/state.typ b/tests/typ/meta/state.typ index a7c3d26a..8f460ce1 100644 --- a/tests/typ/meta/state.typ +++ b/tests/typ/meta/state.typ @@ -16,6 +16,15 @@ Was: #locate(location => { }). --- +// Try same key with different initial value. +#state("key", 2).display() +#state("key").update(x => x + 1) +#state("key", 2).display() +#state("key", 3).display() +#state("key").update(x => x + 1) +#state("key", 2).display() + +--- #set page(width: 200pt) #set text(8pt) |
