summaryrefslogtreecommitdiff
path: root/tests/typ/compiler/dict.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/compiler/dict.typ')
-rw-r--r--tests/typ/compiler/dict.typ3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typ/compiler/dict.typ b/tests/typ/compiler/dict.typ
index 92cacdb3..eca1c458 100644
--- a/tests/typ/compiler/dict.typ
+++ b/tests/typ/compiler/dict.typ
@@ -66,7 +66,8 @@
// Missing lvalue is not automatically none-initialized.
#{
let dict = (:)
- // Error: 3-9 dictionary does not contain key "b" and no default value was specified
+ // Error: 3-9 dictionary does not contain key "b"
+ // Hint: 3-9 use `insert` to add or update values
dict.b += 1
}