taplo version 0.12.1
FAIL valid/comment/nonascii
Error: Error { message: "invalid character in comment (4..4)\n" }
Exit 1
input sent to parser-cmd:
# ~ ÿ 𐀀
output from parser-cmd (stderr):
Error: Error { message: "invalid character in comment (4..4)\n" }
Exit 1
want:
FAIL valid/datetime/edge
Error: Error { message: "expected value (15..25)\nexpected new line (26..34)\nexpected new line (34..35)\nexpected value (51..61)\nexpected new line (62..70)\nexpected value (86..96)\n" }
Exit 1
input sent to parser-cmd:
first-offset = 0001-01-01 00:00:00Z
first-local = 0001-01-01 00:00:00
first-date = 0001-01-01
last-offset = 9999-12-31 23:59:59Z
last-local = 9999-12-31 23:59:59
last-date = 9999-12-31
output from parser-cmd (stderr):
Error: Error { message: "expected value (15..25)\nexpected new line (26..34)\nexpected new line (34..35)\nexpected value (51..61)\nexpected new line (62..70)\nexpected value (86..96)\n" }
Exit 1
want:
FAIL valid/key/quoted-unicode
Error: Error { message: "invalid control character in string literal (205..205)\n" }
Exit 1
input sent to parser-cmd:
"\u0000" = "null"
'\u0000' = "different key"
"\u0008 \u000c \U00000041 \u007f \u0080 \u00ff \ud7ff \ue000 \uffff \U00010000 \U0010ffff" = "escaped key"
"~ ÿ 𐀀 " = "basic key"
'l ~ ÿ 𐀀 ' = "literal key"
output from parser-cmd (stderr):
Error: Error { message: "invalid control character in string literal (205..205)\n" }
Exit 1
want:
FAIL valid/string/quoted-unicode
Error: Error { message: "invalid control character in string literal (303..303)\n" }
Exit 1
input sent to parser-cmd:
escaped_string = "\u0000 \u0008 \u000c \U00000041 \u007f \u0080 \u00ff \ud7ff \ue000 \uffff \U00010000 \U0010ffff"
not_escaped_string = '\u0000 \u0008 \u000c \U00000041 \u007f \u0080 \u00ff \ud7ff \ue000 \uffff \U00010000 \U0010ffff'
basic_string = "~ ÿ 𐀀 "
literal_string = '~ ÿ 𐀀 '
output from parser-cmd (stderr):
Error: Error { message: "invalid control character in string literal (303..303)\n" }
Exit 1
want:
FAIL invalid/control/multi-cr
Expected an error, but no error was reported.
input sent to parser-cmd:
multi-cr = """null
"""
output from parser-cmd (stdout):
{
"multi-cr": {"type": "string", "value": "null\r"}
}
want:
Exit code 1
FAIL invalid/control/rawmulti-cd
Expected an error, but no error was reported.
input sent to parser-cmd:
rawmulti-cd = '''null
'''
output from parser-cmd (stdout):
{
"rawmulti-cd": {"type": "string", "value": "null\r"}
}
want:
Exit code 1
FAIL invalid/table/super-twice
Expected an error, but no error was reported.
input sent to parser-cmd:
[a.b]
[a]
[a]
output from parser-cmd (stdout):
{
"a": {
"b": {}
}
}
want:
Exit code 1
toml-test v2024-05-31 [./scripts/target/release/taplo-decoder]: using embedded tests
valid tests: 178 passed, 4 failed
invalid tests: 368 passed, 3 failed
==> ENCODER TESTS
(not supported)
took 1.5 52.15