nullptr-toml version a394dae
FAIL valid/empty-crlf
Exit 1
input sent to parser-cmd (PID 8733):
output from parser-cmd (PID 8733) (stderr):
Exit 1
want:
FAIL valid/key/like-date
Exit 1
input sent to parser-cmd (PID 8784):
# '-' is a valid character in keys: make a key that looks like a date.
2001-02-03 = 1
"2001-02-04" = 2
'2001-02-05' = 3
# Also include datetime and time for good measure; these need to be quoted as
# ':' isn't a valid bare key.
"2001-02-06T15:16:17+01:00" = 4
"2001-02-07T15:16:17" = 5
"15:16:17" = 6
# Dotted keys
a.2001-02-08 = 7
a.2001-02-09.2001-02-10 = 8
2001-02-11.a.2001-02-12 = 9
# Table names
[2002-01-02]
k = 10
[2002-01-02.2024-01-03]
k = 11
[[2002-01-04]]
k = 12
output from parser-cmd (PID 8784) (stderr):
Exit 1
want:
FAIL valid/key/numeric-06
Exit 1
input sent to parser-cmd (PID 8792):
-1 = true
output from parser-cmd (PID 8792) (stderr):
Exit 1
want:
FAIL valid/string/multiline-escaped-crlf
Exit 1
input sent to parser-cmd (PID 8864):
# The following line should be an unescaped backslash followed by a Windows
# newline sequence ("\r\n")
0="""\
"""
output from parser-cmd (PID 8864) (stderr):
Exit 1
want:
FAIL invalid/control/only-ff
Expected an error, but no error was reported.
input sent to parser-cmd (PID 8972):
output from parser-cmd (PID 8972) (stdout):
{}
want:
Exit code 1
FAIL invalid/control/only-vt
Expected an error, but no error was reported.
input sent to parser-cmd (PID 8975):
output from parser-cmd (PID 8975) (stdout):
{}
want:
Exit code 1
FAIL invalid/table/newline-01
Expected an error, but no error was reported.
input sent to parser-cmd (PID 9407):
[tbl
]
k = 1
output from parser-cmd (PID 9407) (stdout):
{
"tbl": {
"k": {"type": "integer", "value": "1"}
}
}
want:
Exit code 1
FAIL invalid/table/newline-03
Expected an error, but no error was reported.
input sent to parser-cmd (PID 9409):
["tbl"
]
k = 1
output from parser-cmd (PID 9409) (stdout):
{
"tbl": {
"k": {"type": "integer", "value": "1"}
}
}
want:
Exit code 1
FAIL invalid/table/newline-05
Expected an error, but no error was reported.
input sent to parser-cmd (PID 9411):
[tbl
.sub]
k = 1
output from parser-cmd (PID 9411) (stdout):
{
"tbl": {
"sub": {
"k": {"type": "integer", "value": "1"}
}
}
}
want:
Exit code 1
toml-test v2025-04-23 [./c++-nullptr-toml-decoder]: using embedded tests
valid tests: 201 passed, 4 failed
invalid tests: 524 passed, 5 failed
==> ENCODER TESTS
(not supported)
took 0.0 0.0