diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/compute/data.typ | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/typ/compute/data.typ b/tests/typ/compute/data.typ index 96b655c0..d67b7aef 100644 --- a/tests/typ/compute/data.typ +++ b/tests/typ/compute/data.typ @@ -48,11 +48,18 @@ #test(data.integer, 42) #test(data.float, 3.14) #test(data.boolean, true) -#test(data.date_time, "2023-02-01T15:38:57Z") #test(data.array, (1, "string", 3.0, false)) #test(data.inline_table, ("first": "amazing", "second": "greater") ) #test(data.table.element, 5) #test(data.table.others, (false, "indeed", 7)) +#test(data.date_time, datetime( + year: 2023, + month: 2, + day: 1, + hour: 15, + minute: 38, + second: 57, +)) --- // Error: 7-18 failed to parse toml file: expected `.`, `=`, index 15-15 |
