summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-08-30 17:15:49 +0200
committerLaurenz <laurmaedje@gmail.com>2023-08-30 17:15:49 +0200
commit5b36b462301d2074791d72ea6b1291d8120defb1 (patch)
treeb77245fe935dfedf6141e83c4058d4a8e96f4a6c /tests
parentd3ca2ff4ec32cb96b5f742ac48a4d09321ab5966 (diff)
Fix data loading display names
Diffstat (limited to 'tests')
-rw-r--r--tests/typ/compute/data.typ4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/typ/compute/data.typ b/tests/typ/compute/data.typ
index d913d26e..c613c479 100644
--- a/tests/typ/compute/data.typ
+++ b/tests/typ/compute/data.typ
@@ -86,7 +86,7 @@
---
// Test reading YAML data
#let data = yaml("/files/yaml-types.yaml")
-#test(data.len(), 8)
+#test(data.len(), 9)
#test(data.null_key, (none, none))
#test(data.string, "text")
#test(data.integer, 5)
@@ -95,7 +95,7 @@
#test(data.seq, (1,2,3,4))
#test(data.bool, false)
#test(data.keys().contains("true"), true)
----
+#test(data.at("1"), "ok")
---
// Error: 7-24 failed to parse yaml file: while parsing a flow sequence, expected ',' or ']' at line 2 column 1