summaryrefslogtreecommitdiff
path: root/tests/suite/loading/json.typ
diff options
context:
space:
mode:
Diffstat (limited to 'tests/suite/loading/json.typ')
-rw-r--r--tests/suite/loading/json.typ4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/suite/loading/json.typ b/tests/suite/loading/json.typ
index 3ebeaf2f..c8df1ff6 100644
--- a/tests/suite/loading/json.typ
+++ b/tests/suite/loading/json.typ
@@ -9,6 +9,10 @@
// Error: 7-30 failed to parse JSON (expected value at line 3 column 14)
#json("/assets/data/bad.json")
+--- json-decode-deprecated ---
+// Warning: 15-21 `json.decode` is deprecated, directly pass bytes to `json` instead
+#let _ = json.decode
+
--- issue-3363-json-large-number ---
// Big numbers (larger than what i64 can store) should just lose some precision
// but not overflow