summaryrefslogtreecommitdiff
path: root/tests/typ/code/dict.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-16 15:55:50 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-16 15:55:50 +0200
commitbc1bc91a33bcef567dbd7f846dbfac9d19a0994e (patch)
tree71d93f60ee34db03755ad10f7c65b30586522821 /tests/typ/code/dict.typ
parent204cad6bd673da1a265b5b6650ebe89c89ddbace (diff)
Allow adding `none` and anything
Diffstat (limited to 'tests/typ/code/dict.typ')
-rw-r--r--tests/typ/code/dict.typ2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/typ/code/dict.typ b/tests/typ/code/dict.typ
index 182f53d9..344d8efc 100644
--- a/tests/typ/code/dict.typ
+++ b/tests/typ/code/dict.typ
@@ -39,8 +39,8 @@
// Missing lvalue is automatically none-initialized.
{
let dict = (:)
- // Error: 3-17 cannot add none and integer
dict("b") += 1
+ test(dict, (b: 1))
}
---