toml-racket version fe46aa2
FAIL valid/array/array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
ints = [1, 2, 3, ]
floats = [1.1, 2.1, 3.1]
strings = ["a", "b", "c"]
dates = [
1987-07-05T17:45:00Z,
1979-05-27T07:32:00Z,
2006-06-01T11:00:00Z,
]
comments = [
1,
2, #this is ok
]
output from parser-cmd (stdout):
want:
FAIL valid/array/array-subtables
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[arr]]
[arr.subtab]
val=1
[[arr]]
[arr.subtab]
val=2
output from parser-cmd (stdout):
want:
FAIL valid/array/bool
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = [true, false]
output from parser-cmd (stdout):
want:
FAIL valid/array/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
thevoid = [[[[[]]]]]
output from parser-cmd (stdout):
want:
FAIL valid/array/hetergeneous
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
mixed = [[1, 2], ["a", "b"], [1.1, 2.1]]
output from parser-cmd (stdout):
want:
FAIL valid/array/mixed-int-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arrays-and-ints = [1, ["Arrays are not integers."]]
output from parser-cmd (stdout):
want:
FAIL valid/array/mixed-int-float
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
ints-and-floats = [1, 1.1]
output from parser-cmd (stdout):
want:
FAIL valid/array/mixed-int-string
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
strings-and-ints = ["hi", 42]
output from parser-cmd (stdout):
want:
FAIL valid/array/mixed-string-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
contributors = [
"Foo Bar ",
{ name = "Baz Qux", email = "bazqux@example.com", url = "https://example.com/bazqux" }
]
# Start with a table as the first element. This tests a case that some libraries
# might have where they will check if the first entry is a table/map/hash/assoc
# array and then encode it as a table array. This was a reasonable thing to do
# before TOML 1.0 since arrays could only contain one type, but now it's no
# longer.
mixed = [{k="a"}, "b", 1]
output from parser-cmd (stdout):
want:
FAIL valid/array/nested
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nest = [["a"], ["b"]]
output from parser-cmd (stdout):
want:
FAIL valid/array/nested-double
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nest = [
[
["a"],
[1, 2, [3]]
]
]
output from parser-cmd (stdout):
want:
FAIL valid/array/nested-inline-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = [ { b = {} } ]
output from parser-cmd (stdout):
want:
FAIL valid/array/nospaces
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
ints = [1,2,3]
output from parser-cmd (stdout):
want:
FAIL valid/array/open-parent-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[parent-table.arr]]
[[parent-table.arr]]
[parent-table]
not-arr = 1
output from parser-cmd (stdout):
want:
FAIL valid/array/string-quote-comma
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
title = [
"Client: \"XXXX\", Job: XXXX",
"Code: XXXX"
]
output from parser-cmd (stdout):
want:
FAIL valid/array/string-quote-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
title = [ " \", ",]
output from parser-cmd (stdout):
want:
FAIL valid/array/string-with-comma
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
title = [
"Client: XXXX, Job: XXXX",
"Code: XXXX"
]
output from parser-cmd (stdout):
want:
FAIL valid/array/string-with-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
title = [
"""Client: XXXX,
Job: XXXX""",
"Code: XXXX"
]
output from parser-cmd (stdout):
want:
FAIL valid/array/strings
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string_array = [ "all", 'strings', """are the same""", '''type''']
output from parser-cmd (stdout):
want:
FAIL valid/array/table-array-string-backslash
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
foo = [ { bar="\"{{baz}}\""} ]
output from parser-cmd (stdout):
want:
FAIL valid/array/trailing-comma
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arr-1 = [1,]
arr-2 = [2,3,]
arr-3 = [4,
]
arr-4 = [
5,
6,
]
output from parser-cmd (stdout):
want:
FAIL valid/bool/bool
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = true
f = false
output from parser-cmd (stdout):
want:
FAIL valid/comment/after-literal-no-ws
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inf=inf#infinity
nan=nan#not a number
true=true#true
false=false#false
output from parser-cmd (stdout):
want:
FAIL valid/comment/at-eof
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This is a full-line comment
key = "value" # This is a comment at the end of a line
output from parser-cmd (stdout):
want:
FAIL valid/comment/at-eof2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This is a full-line comment
key = "value" # This is a comment at the end of a line
output from parser-cmd (stdout):
want:
FAIL valid/comment/everywhere
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Top comment.
# Top comment.
# Top comment.
# [no-extraneous-groups-please]
[group] # Comment
answer = 42 # Comment
# no-extraneous-keys-please = 999
# Inbetween comment.
more = [ # Comment
# What about multiple # comments?
# Can you handle it?
#
# Evil.
# Evil.
42, 42, # Comments within arrays are fun.
# What about multiple # comments?
# Can you handle it?
#
# Evil.
# Evil.
# ] Did I fool you?
] # Hopefully not.
# Make sure the space between the datetime and "#" isn't lexed.
dt = 1979-05-27T07:32:12-07:00 # c
d = 1979-05-27 # Comment
output from parser-cmd (stdout):
want:
FAIL valid/comment/noeol
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# single comment without any eol characters
output from parser-cmd (stdout):
want:
FAIL valid/comment/nonascii
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# ~ ÿ 𐀀
output from parser-cmd (stdout):
want:
FAIL valid/comment/tricky
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[section]#attached comment
#[notsection]
one = "11"#cmt
two = "22#"
three = '#'
four = """# no comment
# nor this
#also not comment"""#is_comment
five = 5.5#66
six = 6#7
8 = "eight"
#nine = 99
ten = 10e2#1
eleven = 1.11e1#23
["hash#tag"]
"#!" = "hash bang"
arr3 = [ "#", '#', """###""" ]
arr4 = [ 1,# 9, 9,
2#,9
,#9
3#]
,4]
arr5 = [[[[#["#"],
["#"]]]]#]
]
tbl1 = { "#" = '}#'}#}}
output from parser-cmd (stdout):
want:
FAIL valid/datetime/datetime
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
space = 1987-07-05 17:45:00Z
# ABNF is case-insensitive, both "Z" and "z" must be supported.
lower = 1987-07-05t17:45:00z
output from parser-cmd (stdout):
want:
FAIL valid/datetime/edge
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
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 (stdout):
want:
FAIL valid/datetime/leap-year
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
2000-datetime = 2000-02-29 15:15:15Z
2000-datetime-local = 2000-02-29 15:15:15
2000-date = 2000-02-29
2024-datetime = 2024-02-29 15:15:15Z
2024-datetime-local = 2024-02-29 15:15:15
2024-date = 2024-02-29
output from parser-cmd (stdout):
want:
FAIL valid/datetime/local
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
local = 1987-07-05T17:45:00
milli = 1977-12-21T10:32:00.555
space = 1987-07-05 17:45:00
output from parser-cmd (stdout):
want:
FAIL valid/datetime/local-date
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bestdayever = 1987-07-05
output from parser-cmd (stdout):
want:
FAIL valid/datetime/local-time
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
besttimeever = 17:45:00
milliseconds = 10:32:00.555
output from parser-cmd (stdout):
want:
FAIL valid/datetime/milliseconds
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
utc1 = 1987-07-05T17:45:56.123Z
utc2 = 1987-07-05T17:45:56.6Z
wita1 = 1987-07-05T17:45:56.123+08:00
wita2 = 1987-07-05T17:45:56.6+08:00
output from parser-cmd (stdout):
want:
FAIL valid/datetime/timezone
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
utc = 1987-07-05T17:45:56Z
pdt = 1987-07-05T17:45:56-05:00
nzst = 1987-07-05T17:45:56+12:00
nzdt = 1987-07-05T17:45:56+13:00 # DST
output from parser-cmd (stdout):
want:
FAIL valid/empty-file
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
output from parser-cmd (stdout):
want:
FAIL valid/example
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
best-day-ever = 1987-07-05T17:45:00Z
[numtheory]
boring = false
perfection = [6, 28, 496]
output from parser-cmd (stdout):
want:
FAIL valid/float/exponent
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
lower = 3e2
upper = 3E2
neg = 3e-2
pos = 3E+2
zero = 3e0
pointlower = 3.1e2
pointupper = 3.1E2
minustenth = -1E-1
output from parser-cmd (stdout):
want:
FAIL valid/float/float
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
pi = 3.14
pospi = +3.14
negpi = -3.14
zero-intpart = 0.123
output from parser-cmd (stdout):
want:
FAIL valid/float/inf-and-nan
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# We don't encode +nan and -nan back with the signs; many languages don't
# support a sign on NaN (it doesn't really make much sense).
nan = nan
nan_neg = -nan
nan_plus = +nan
infinity = inf
infinity_neg = -inf
infinity_plus = +inf
output from parser-cmd (stdout):
want:
FAIL valid/float/long
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
longpi = 3.141592653589793
neglongpi = -3.141592653589793
output from parser-cmd (stdout):
want:
FAIL valid/float/max-int
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Maximum and minimum safe natural numbers.
max_float = 9_007_199_254_740_991.0
min_float = -9_007_199_254_740_991.0
output from parser-cmd (stdout):
want:
FAIL valid/float/underscore
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
before = 3_141.5927
after = 3141.592_7
exponent = 3e1_4
output from parser-cmd (stdout):
want:
FAIL valid/float/zero
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
zero = 0.0
signed-pos = +0.0
signed-neg = -0.0
exponent = 0e0
exponent-two-0 = 0e00
exponent-signed-pos = +0e0
exponent-signed-neg = -0e0
output from parser-cmd (stdout):
want:
FAIL valid/implicit-and-explicit-after
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a.b.c]
answer = 42
[a]
better = 43
output from parser-cmd (stdout):
want:
FAIL valid/implicit-and-explicit-before
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
better = 43
[a.b.c]
answer = 42
output from parser-cmd (stdout):
want:
FAIL valid/implicit-groups
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a.b.c]
answer = 42
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arr = [ {'a'= 1}, {'a'= 2} ]
people = [{first_name = "Bruce", last_name = "Springsteen"},
{first_name = "Eric", last_name = "Clapton"},
{first_name = "Bob", last_name = "Seger"}]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/array-values
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# "No newlines are allowed between the curly braces unless they are valid within
# a value"
a = { a = [
]}
b = { a = [
1,
2,
], b = [
3,
4,
]}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/bool
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = {a = true, b = false}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
empty1 = {}
empty2 = { }
empty_in_array = [ { not_empty = 1 }, {} ]
empty_in_array2 = [{},{not_empty=1}]
many_empty = [{},{},{}]
nested_empty = {"empty"={}}
with_cmt ={ }#nothing here
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/end-in-bool
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
black = { python=">3.6", version=">=18.9b0", allow_prereleases=true }
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/inline-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name = { first = "Tom", last = "Preston-Werner" }
point = { x = 1, y = 2 }
simple = { a = 1 }
str-key = { "a" = 1 }
table-array = [{ "a" = 1 }, { "b" = 2 }]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = { a.b = 1 }
b = { "a"."b" = 1 }
c = { a . b = 1 }
d = { 'a' . "b" = 1 }
e = {a.b=1}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
many.dots.here.dot.dot.dot = {a.b.c = 1, a.b.d = 2}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[tbl]
a.b.c = {d.e=1}
[tbl.x]
a.b.c = {d.e=1}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[arr]]
t = {a.b=1}
T = {a.b=1}
[[arr]]
t = {a.b=2}
T = {a.b=2}
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arr-1 = [{a.b = 1}]
arr-2 = ["str", {a.b = 1}]
arr-3 = [{a.b = 1}, {a.b = 2}]
arr-4 = ["str", {a.b = 1}, {a.b = 2}]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
top.dot.dot = [
{dot.dot.dot = 1},
{dot.dot.dot = 2},
]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/key-dotted-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arr = [
{a.b = [{c.d = 1}]}
]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/multiline
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tbl_multiline = { a = 1, b = """
multiline
""", c = """and yet
another line""", d = 4 }
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/nest
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tbl_tbl_empty = { tbl_0 = {} }
tbl_tbl_val = { tbl_1 = { one = 1 } }
tbl_arr_tbl = { arr_tbl = [ { one = 1 } ] }
arr_tbl_tbl = [ { tbl = { one = 1 } } ]
# Array-of-array-of-table is interesting because it can only
# be represented in inline form.
arr_arr_tbl_empty = [ [ {} ] ]
arr_arr_tbl_val = [ [ { one = 1 } ] ]
arr_arr_tbls = [ [ { one = 1 }, { two = 2 } ] ]
output from parser-cmd (stdout):
want:
FAIL valid/inline-table/spaces
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# https://github.com/toml-lang/toml-test/issues/146
clap-1 = { version = "4" , features = ["derive", "cargo"] }
# Contains some literal tabs!
clap-2 = { version = "4" , features = [ "derive" , "cargo" ] , nest = { "a" = 'x' , 'b' = [ 1.5 , 9.0 ] } }
output from parser-cmd (stdout):
want:
FAIL valid/integer/float64-max
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Maximum and minimum safe float64 natural numbers. Mainly here for
# -int-as-float.
max_int = 9_007_199_254_740_991
min_int = -9_007_199_254_740_991
output from parser-cmd (stdout):
want:
FAIL valid/integer/integer
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = 42
posanswer = +42
neganswer = -42
zero = 0
output from parser-cmd (stdout):
want:
FAIL valid/integer/literals
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bin1 = 0b11010110
bin2 = 0b1_0_1
oct1 = 0o01234567
oct2 = 0o755
oct3 = 0o7_6_5
hex1 = 0xDEADBEEF
hex2 = 0xdeadbeef
hex3 = 0xdead_beef
hex4 = 0x00987
output from parser-cmd (stdout):
want:
FAIL valid/integer/long
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# int64 "should" be supported, but is not mandatory. It's fine to skip this
# test.
int64-max = 9223372036854775807
int64-max-neg = -9223372036854775808
output from parser-cmd (stdout):
want:
FAIL valid/integer/underscore
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
kilo = 1_000
x = 1_1_1_1
output from parser-cmd (stdout):
want:
FAIL valid/integer/zero
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
d1 = 0
d2 = +0
d3 = -0
h1 = 0x0
h2 = 0x00
h3 = 0x00000
o1 = 0o0
a2 = 0o00
a3 = 0o00000
b1 = 0b0
b2 = 0b00
b3 = 0b00000
output from parser-cmd (stdout):
want:
FAIL valid/key/alphanum
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
alpha = "a"
123 = "num"
000111 = "leading"
10e3 = "false float"
one1two2 = "mixed"
with-dash = "dashed"
under_score = "___"
34-11 = 23
[2018_10]
001 = 1
[a-a-a]
_ = false
output from parser-cmd (stdout):
want:
FAIL valid/key/case-sensitive
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
sectioN = "NN"
[section]
name = "lower"
NAME = "upper"
Name = "capitalized"
[Section]
name = "different section!!"
"μ" = "greek small letter mu"
"Μ" = "greek capital letter MU"
M = "latin letter M"
output from parser-cmd (stdout):
want:
FAIL valid/key/dotted-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name.first = "Arthur"
"name".'last' = "Dent"
many.dots.dot.dot.dot = 42
output from parser-cmd (stdout):
want:
FAIL valid/key/dotted-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Note: this file contains literal tab characters.
# Space are ignored, and key parts can be quoted.
count.a = 1
count . b = 2
"count"."c" = 3
"count" . "d" = 4
'count'.'e' = 5
'count' . 'f' = 6
"count".'g' = 7
"count" . 'h' = 8
count.'i' = 9
count . 'j' = 10
"count".k = 11
"count" . l = 12
output from parser-cmd (stdout):
want:
FAIL valid/key/dotted-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
top.key = 1
[tbl]
a.b.c = 42.666
[a.few.dots]
polka.dot = "again?"
polka.dance-with = "Dot"
output from parser-cmd (stdout):
want:
FAIL valid/key/dotted-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
top.key = 1
[[arr]]
a.b.c=1
a.b.d=2
[[arr]]
a.b.c=3
a.b.d=4
output from parser-cmd (stdout):
want:
FAIL valid/key/dotted-empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
''.x = "empty.x"
x."" = "x.empty"
[a]
"".'' = "empty.empty"
output from parser-cmd (stdout):
want:
FAIL valid/key/empty-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"" = "blank"
output from parser-cmd (stdout):
want:
FAIL valid/key/empty-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
'' = "blank"
output from parser-cmd (stdout):
want:
FAIL valid/key/empty-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
''=0
output from parser-cmd (stdout):
want:
FAIL valid/key/equals-nospace
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer=42
output from parser-cmd (stdout):
want:
FAIL valid/key/escapes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"\n" = "newline"
"\b" = "bell"
"\u00c0" = "latin capital letter A with grave"
"\"" = "just a quote"
["backsp\b\b"]
["\"quoted\""]
quote = true
["a.b"."\u00c0"]
output from parser-cmd (stdout):
want:
FAIL valid/key/numeric
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
1 = 1
output from parser-cmd (stdout):
want:
FAIL valid/key/numeric-dotted
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
1.2 = 3
output from parser-cmd (stdout):
want:
FAIL valid/key/quoted-dots
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
plain = 1
"with.dot" = 2
[plain_table]
plain = 3
"with.dot" = 4
[table.withdot]
plain = 5
"key.with.dots" = 6
output from parser-cmd (stdout):
want:
FAIL valid/key/quoted-unicode
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
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 (stdout):
want:
FAIL valid/key/space
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Keep whitespace inside quotes keys at all positions.
"a b" = 1
" c d " = 2
[ " tbl " ]
"\ttab\ttab\t" = "tab"
output from parser-cmd (stdout):
want:
FAIL valid/key/special-chars
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"=~!@$^&*()_+-`1234567890[]|/?><.,;:'=" = 1
output from parser-cmd (stdout):
want:
FAIL valid/key/special-word
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
false = false
true = 1
inf = 100000000
nan = "ceci n'est pas un nombre"
output from parser-cmd (stdout):
want:
FAIL valid/key/start
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Table and keys can start with any character; there is no requirement for it to
# start with a letter.
[-key]
-key = 1
[_key]
_key = 2
[1key]
1key = 3
[-]
- = 4
[_]
_ = 5
[1]
1 = 6
[---]
--- = 7
[___]
___ = 8
[111]
111 = 9
[inline]
--- = {--- = 10, ___ = 11, 111 = 12}
output from parser-cmd (stdout):
want:
FAIL valid/key/zero
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
0=0
output from parser-cmd (stdout):
want:
FAIL valid/newline-crlf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
os = "DOS"
newline = "crlf"
output from parser-cmd (stdout):
want:
FAIL valid/newline-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
os = "unix"
newline = "lf"
output from parser-cmd (stdout):
want:
FAIL valid/spec-example-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This is a TOML document. Boom.
title = "TOML Example"
[owner]
name = "Lance Uppercut"
dob = 1979-05-27T07:32:00-08:00 # First class dates? Why not?
[database]
server = "192.168.1.1"
ports = [ 8001, 8001, 8002 ]
connection_max = 5000
enabled = true
[servers]
# You can indent as you please. Tabs or spaces. TOML don't care.
[servers.alpha]
ip = "10.0.0.1"
dc = "eqdc10"
[servers.beta]
ip = "10.0.0.2"
dc = "eqdc10"
[clients]
data = [ ["gamma", "delta"], [1, 2] ]
# Line breaks are OK when inside arrays
hosts = [
"alpha",
"omega"
]
output from parser-cmd (stdout):
want:
FAIL valid/spec-example-1-compact
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
#Useless spaces eliminated.
title="TOML Example"
[owner]
name="Lance Uppercut"
dob=1979-05-27T07:32:00-08:00#First class dates
[database]
server="192.168.1.1"
ports=[8001,8001,8002]
connection_max=5000
enabled=true
[servers]
[servers.alpha]
ip="10.0.0.1"
dc="eqdc10"
[servers.beta]
ip="10.0.0.2"
dc="eqdc10"
[clients]
data=[["gamma","delta"],[1,2]]
hosts=[
"alpha",
"omega"
]
output from parser-cmd (stdout):
want:
FAIL valid/spec/array-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
integers = [ 1, 2, 3 ]
colors = [ "red", "yellow", "green" ]
nested_arrays_of_ints = [ [ 1, 2 ], [3, 4, 5] ]
nested_mixed_array = [ [ 1, 2 ], ["a", "b", "c"] ]
string_array = [ "all", 'strings', """are the same""", '''type''' ]
# Mixed-type arrays are allowed
numbers = [ 0.1, 0.2, 0.5, 1, 2, 5 ]
contributors = [
"Foo Bar ",
{ name = "Baz Qux", email = "bazqux@example.com", url = "https://example.com/bazqux" }
]
output from parser-cmd (stdout):
want:
FAIL valid/spec/array-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
integers2 = [
1, 2, 3
]
integers3 = [
1,
2, # this is ok
]
output from parser-cmd (stdout):
want:
FAIL valid/spec/array-of-tables-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[products]]
name = "Hammer"
sku = 738594937
[[products]] # empty table within the array
[[products]]
name = "Nail"
sku = 284758393
color = "gray"
output from parser-cmd (stdout):
want:
FAIL valid/spec/array-of-tables-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[fruits]]
name = "apple"
[fruits.physical] # subtable
color = "red"
shape = "round"
[[fruits.varieties]] # nested array of tables
name = "red delicious"
[[fruits.varieties]]
name = "granny smith"
[[fruits]]
name = "banana"
[[fruits.varieties]]
name = "plantain"
output from parser-cmd (stdout):
want:
FAIL valid/spec/array-of-tables-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
points = [ { x = 1, y = 2, z = 3 },
{ x = 7, y = 8, z = 9 },
{ x = 2, y = 4, z = 8 } ]
output from parser-cmd (stdout):
want:
FAIL valid/spec/boolean-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bool1 = true
bool2 = false
output from parser-cmd (stdout):
want:
FAIL valid/spec/comment-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This is a full-line comment
key = "value" # This is a comment at the end of a line
another = "# This is not a comment"
output from parser-cmd (stdout):
want:
FAIL valid/spec/float-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# fractional
flt1 = +1.0
flt2 = 3.1415
flt3 = -0.01
# exponent
flt4 = 5e+22
flt5 = 1e06
flt6 = -2E-2
# both
flt7 = 6.626e-34
output from parser-cmd (stdout):
want:
FAIL valid/spec/float-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
flt8 = 224_617.445_991_228
output from parser-cmd (stdout):
want:
FAIL valid/spec/float-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# infinity
sf1 = inf # positive infinity
sf2 = +inf # positive infinity
sf3 = -inf # negative infinity
# not a number
sf4 = nan # actual sNaN/qNaN encoding is implementation-specific
sf5 = +nan # same as `nan`
sf6 = -nan # valid, actual encoding is implementation-specific
output from parser-cmd (stdout):
want:
FAIL valid/spec/inline-table-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name = { first = "Tom", last = "Preston-Werner" }
point = { x = 1, y = 2 }
animal = { type.name = "pug" }
output from parser-cmd (stdout):
want:
FAIL valid/spec/inline-table-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[name]
first = "Tom"
last = "Preston-Werner"
[point]
x = 1
y = 2
[animal]
type.name = "pug"
output from parser-cmd (stdout):
want:
FAIL valid/spec/inline-table-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[product]
type = { name = "Nail" }
# type.edible = false # INVALID
output from parser-cmd (stdout):
want:
FAIL valid/spec/inline-table-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[product]
type.name = "Nail"
# type = { edible = false } # INVALID
output from parser-cmd (stdout):
want:
FAIL valid/spec/integer-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
int1 = +99
int2 = 42
int3 = 0
int4 = -17
output from parser-cmd (stdout):
want:
FAIL valid/spec/integer-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
int5 = 1_000
int6 = 5_349_221
int7 = 53_49_221 # Indian number system grouping
int8 = 1_2_3_4_5 # VALID but discouraged
output from parser-cmd (stdout):
want:
FAIL valid/spec/integer-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# hexadecimal with prefix `0x`
hex1 = 0xDEADBEEF
hex2 = 0xdeadbeef
hex3 = 0xdead_beef
# octal with prefix `0o`
oct1 = 0o01234567
oct2 = 0o755 # useful for Unix file permissions
# binary with prefix `0b`
bin1 = 0b11010110
output from parser-cmd (stdout):
want:
FAIL valid/spec/key-value-pair-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key = "value"
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key = "value"
bare_key = "value"
bare-key = "value"
1234 = "value"
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"127.0.0.1" = "value"
"character encoding" = "value"
"ʎǝʞ" = "value"
'key2' = "value"
'quoted "value"' = "value"
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name = "Orange"
physical.color = "orange"
physical.shape = "round"
site."google.com" = true
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
fruit.name = "banana" # this is best practice
fruit. color = "yellow" # same as fruit.color
fruit . flavor = "banana" # same as fruit.flavor
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# VALID BUT DISCOURAGED
apple.type = "fruit"
orange.type = "fruit"
apple.skin = "thin"
orange.skin = "thick"
apple.color = "red"
orange.color = "orange"
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# RECOMMENDED
apple.type = "fruit"
apple.skin = "thin"
apple.color = "red"
orange.type = "fruit"
orange.skin = "thick"
orange.color = "orange"
output from parser-cmd (stdout):
want:
FAIL valid/spec/keys-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
3.14159 = "pi"
output from parser-cmd (stdout):
want:
FAIL valid/spec/local-date-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
ld1 = 1979-05-27
output from parser-cmd (stdout):
want:
FAIL valid/spec/local-date-time-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
ldt1 = 1979-05-27T07:32:00
ldt2 = 1979-05-27T00:32:00.999
output from parser-cmd (stdout):
want:
FAIL valid/spec/local-time-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
lt1 = 07:32:00
lt2 = 00:32:00.999
output from parser-cmd (stdout):
want:
FAIL valid/spec/offset-date-time-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
odt1 = 1979-05-27T07:32:00Z
odt2 = 1979-05-27T00:32:00-07:00
odt3 = 1979-05-27T00:32:00.999-07:00
output from parser-cmd (stdout):
want:
FAIL valid/spec/offset-date-time-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
odt4 = 1979-05-27 07:32:00Z
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
str = "I'm a string. \"You can quote me\". Name\tJos\u00E9\nLocation\tSF."
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
str1 = """
Roses are red
Violets are blue"""
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# On a Unix system, the above multi-line string will most likely be the same as:
str2 = "Roses are red\nViolets are blue"
# On a Windows system, it will most likely be equivalent to:
str3 = "Roses are red\r\nViolets are blue"
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following strings are byte-for-byte equivalent:
str1 = "The quick brown fox jumps over the lazy dog."
str2 = """
The quick brown \
fox jumps over \
the lazy dog."""
str3 = """\
The quick brown \
fox jumps over \
the lazy dog.\
"""
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
str4 = """Here are two quotation marks: "". Simple enough."""
# str5 = """Here are three quotation marks: """.""" # INVALID
str5 = """Here are three quotation marks: ""\"."""
str6 = """Here are fifteen quotation marks: ""\"""\"""\"""\"""\"."""
# "This," she said, "is just a pointless statement."
str7 = """"This," she said, "is just a pointless statement.""""
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# What you see is what you get.
winpath = 'C:\Users\nodejs\templates'
winpath2 = '\\ServerX\admin$\system32\'
quoted = 'Tom "Dubs" Preston-Werner'
regex = '<\i\c*\s*>'
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
regex2 = '''I [dw]on't need \d{2} apples'''
lines = '''
The first newline is
trimmed in raw strings.
All other whitespace
is preserved.
'''
output from parser-cmd (stdout):
want:
FAIL valid/spec/string-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
quot15 = '''Here are fifteen quotation marks: """""""""""""""'''
# apos15 = '''Here are fifteen apostrophes: '''''''''''''''''' # INVALID
apos15 = "Here are fifteen apostrophes: '''''''''''''''"
# 'That,' she said, 'is still pointless.'
str = ''''That,' she said, 'is still pointless.''''
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[table]
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[table-1]
key1 = "some string"
key2 = 123
[table-2]
key1 = "another string"
key2 = 456
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[dog."tater.man"]
type.name = "pug"
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a.b.c] # this is best practice
[ d.e.f ] # same as [d.e.f]
[ g . h . i ] # same as [g.h.i]
[ j . "ʞ" . 'l' ] # same as [j."ʞ".'l']
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# [x] you
# [x.y] don't
# [x.y.z] need these
[x.y.z.w] # for this to work
[x] # defining a super-table afterward is ok
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# VALID BUT DISCOURAGED
[fruit.apple]
[animal]
[fruit.orange]
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# RECOMMENDED
[fruit.apple]
[fruit.orange]
[animal]
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Top-level table begins.
name = "Fido"
breed = "pug"
# Top-level table ends.
[owner]
name = "Regina Dogman"
member_since = 1999-08-04
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-8
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
fruit.apple.color = "red"
# Defines a table named fruit
# Defines a table named fruit.apple
fruit.apple.taste.sweet = true
# Defines a table named fruit.apple.taste
# fruit and fruit.apple were already created
output from parser-cmd (stdout):
want:
FAIL valid/spec/table-9
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
apple.taste.sweet = true
# [fruit.apple] # INVALID
# [fruit.apple.taste] # INVALID
[fruit.apple.texture] # you can add sub-tables
smooth = true
output from parser-cmd (stdout):
want:
FAIL valid/string/double-quote-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
test = "\"one\""
output from parser-cmd (stdout):
want:
FAIL valid/string/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = ""
output from parser-cmd (stdout):
want:
FAIL valid/string/ends-in-whitespace-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
beee = """
heeee
geeee\
"""
output from parser-cmd (stdout):
want:
FAIL valid/string/escape-tricky
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
end_esc = "String does not end here\" but ends here\\"
lit_end_esc = 'String ends here\'
multiline_unicode = """
\u00a0"""
multiline_not_unicode = """
\\u0041"""
multiline_end_esc = """When will it end? \"""...""\" should be here\""""
lit_multiline_not_unicode = '''
\u007f'''
lit_multiline_end = '''There is no escape\'''
output from parser-cmd (stdout):
want:
FAIL valid/string/escaped-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = "\\x64"
output from parser-cmd (stdout):
want:
FAIL valid/string/escapes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
backspace = "|\b."
tab = "|\t."
newline = "|\n."
formfeed = "|\f."
carriage = "|\r."
quote = "|\"."
backslash = "|\\."
delete = "|\u007F."
unitseparator = "|\u001F."
# \u is escaped, so should NOT be interperted as a \u escape.
notunicode1 = "|\\u."
notunicode2 = "|\u005Cu."
notunicode3 = "|\\u0075."
notunicode4 = "|\\\u0075."
output from parser-cmd (stdout):
want:
FAIL valid/string/multiline
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# NOTE: this file includes some literal tab characters.
equivalent_one = "The quick brown fox jumps over the lazy dog."
equivalent_two = """
The quick brown \
fox jumps over \
the lazy dog."""
equivalent_three = """\
The quick brown \
fox jumps over \
the lazy dog.\
"""
whitespace-after-bs = """\
The quick brown \
fox jumps over \
the lazy dog.\
"""
no-space = """a\
b"""
# Has tab character.
keep-ws-before = """a \
b"""
escape-bs-1 = """a \\
b"""
escape-bs-2 = """a \\\
b"""
escape-bs-3 = """a \\\\
b"""
output from parser-cmd (stdout):
want:
FAIL valid/string/multiline-empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
empty-1 = """"""
# A newline immediately following the opening delimiter will be trimmed.
empty-2 = """
"""
# \ at the end of line trims newlines as well; note that last \ is followed by
# two spaces, which are ignored.
empty-3 = """\
"""
empty-4 = """\
\
\
"""
output from parser-cmd (stdout):
want:
FAIL valid/string/multiline-escaped-crlf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line should be an unescaped backslash followed by a Windows
# newline sequence ("\r\n")
0="""\
"""
output from parser-cmd (stdout):
want:
FAIL valid/string/multiline-quotes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Make sure that quotes inside multiline strings are allowed, including right
# after the opening '''/""" and before the closing '''/"""
lit_one = ''''one quote''''
lit_two = '''''two quotes'''''
lit_one_space = ''' 'one quote' '''
lit_two_space = ''' ''two quotes'' '''
one = """"one quote""""
two = """""two quotes"""""
one_space = """ "one quote" """
two_space = """ ""two quotes"" """
mismatch1 = """aaa'''bbb"""
mismatch2 = '''aaa"""bbb'''
# Three opening """, then one escaped ", then two "" (allowed), and then three
# closing """
escaped = """lol\""""""
five-quotes = """
Closing with five quotes
"""""
four-quotes = """
Closing with four quotes
""""
output from parser-cmd (stdout):
want:
FAIL valid/string/nl
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nl_mid = "val\nue"
nl_end = """value\n"""
lit_nl_end = '''value\n'''
lit_nl_mid = 'val\nue'
lit_nl_uni = 'val\ue'
output from parser-cmd (stdout):
want:
FAIL valid/string/quoted-unicode
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
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 (stdout):
want:
FAIL valid/string/raw
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
backspace = 'This string has a \b backspace character.'
tab = 'This string has a \t tab character.'
unescaped_tab = 'This string has an unescaped tab character.'
newline = 'This string has a \n new line character.'
formfeed = 'This string has a \f form feed character.'
carriage = 'This string has a \r carriage return character.'
slash = 'This string has a \/ slash character.'
backslash = 'This string has a \\ backslash character.'
output from parser-cmd (stdout):
want:
FAIL valid/string/raw-multiline
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Single ' should be allowed.
oneline = '''This string has a ' quote character.'''
# A newline immediately following the opening delimiter will be trimmed.
firstnl = '''
This string has a ' quote character.'''
# All other whitespace and newline characters remain intact.
multiline = '''
This string
has ' a quote character
and more than
one newline
in it.'''
# Tab character in literal string does not need to be escaped
multiline_with_tab = '''First line
Followed by a tab'''
this-str-has-apostrophes='''' there's one already
'' two more
'''''
output from parser-cmd (stdout):
want:
FAIL valid/string/simple
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = "You are not drinking enough whisky."
output from parser-cmd (stdout):
want:
FAIL valid/string/start-mb
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Start first line with a multibyte character.
#
# https://github.com/marzer/tomlplusplus/issues/190
s1 = "§"
s2 = '§'
s3 = """\
§"""
s4 = """
§"""
s5 = """§"""
s6 = '''
§'''
s7 = '''§'''
output from parser-cmd (stdout):
want:
FAIL valid/string/unicode-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
delta-1 = "\u03B4"
delta-2 = "\U000003B4"
a = "\u0061"
b = "\u0062"
c = "\U00000063"
null-1 = "\u0000"
null-2 = "\U00000000"
ml-delta-1 = """\u03B4"""
ml-delta-2 = """\U000003B4"""
ml-a = """\u0061"""
ml-b = """\u0062"""
ml-c = """\U00000063"""
ml-null-1 = """\u0000"""
ml-null-2 = """\U00000000"""
output from parser-cmd (stdout):
want:
FAIL valid/string/unicode-literal
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = "δ"
output from parser-cmd (stdout):
want:
FAIL valid/string/with-pound
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
pound = "We see no # comments here."
poundcomment = "But there are # some comments here." # Did I # mess you up?
output from parser-cmd (stdout):
want:
FAIL valid/table/array-implicit
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[albums.songs]]
name = "Glory Days"
output from parser-cmd (stdout):
want:
FAIL valid/table/array-implicit-and-explicit-after
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[a.b]]
x = 1
[a]
y = 2
output from parser-cmd (stdout):
want:
FAIL valid/table/array-many
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[people]]
first_name = "Bruce"
last_name = "Springsteen"
[[people]]
first_name = "Eric"
last_name = "Clapton"
[[people]]
first_name = "Bob"
last_name = "Seger"
output from parser-cmd (stdout):
want:
FAIL valid/table/array-nest
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[albums]]
name = "Born to Run"
[[albums.songs]]
name = "Jungleland"
[[albums.songs]]
name = "Meeting Across the River"
[[albums]]
name = "Born in the USA"
[[albums.songs]]
name = "Glory Days"
[[albums.songs]]
name = "Dancing in the Dark"
output from parser-cmd (stdout):
want:
FAIL valid/table/array-one
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[people]]
first_name = "Bruce"
last_name = "Springsteen"
output from parser-cmd (stdout):
want:
FAIL valid/table/array-table-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[a]]
[[a.b]]
[a.b.c]
d = "val0"
[[a.b]]
[a.b.c]
d = "val1"
output from parser-cmd (stdout):
want:
FAIL valid/table/array-within-dotted
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
[[fruit.apple.seeds]]
size = 2
output from parser-cmd (stdout):
want:
FAIL valid/table/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
output from parser-cmd (stdout):
want:
FAIL valid/table/empty-name
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
['']
x = 1
["".a]
x = 2
[a.'']
x = 3
output from parser-cmd (stdout):
want:
FAIL valid/table/keyword
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[true]
[false]
[inf]
[nan]
output from parser-cmd (stdout):
want:
FAIL valid/table/names
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a.b.c]
[a."b.c"]
[a.'d.e']
[a.' x ']
[ d.e.f ]
[ g . h . i ]
[ j . "ʞ" . 'l' ]
[x.1.2]
output from parser-cmd (stdout):
want:
FAIL valid/table/no-eol
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[table]
output from parser-cmd (stdout):
want:
FAIL valid/table/sub
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
key = 1
# a.extend is a key inside the "a" table.
[a.extend]
key = 2
[a.extend.more]
key = 3
output from parser-cmd (stdout):
want:
FAIL valid/table/sub-empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
[a.b]
output from parser-cmd (stdout):
want:
FAIL valid/table/whitespace
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
["valid key"]
output from parser-cmd (stdout):
want:
FAIL valid/table/with-literal-string
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
['a']
[a.'"b"']
[a.'"b"'.c]
answer = 42
output from parser-cmd (stdout):
want:
FAIL valid/table/with-pound
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
["key#group"]
answer = 42
output from parser-cmd (stdout):
want:
FAIL valid/table/with-single-quotes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
['a']
[a.'b']
[a.'b'.c]
answer = 42
output from parser-cmd (stdout):
want:
FAIL valid/table/without-super
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# [x] you
# [x.y] don't
# [x.y.z] need these
[x.y.z.w] # for this to work
[x] # defining a super-table afterwards is ok
output from parser-cmd (stdout):
want:
FAIL invalid/array/double-comma-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-comma-1 = [1,,2]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/double-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-comma-2 = [1,2,,]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/extend-defined-aot
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[tab.arr]]
[tab]
arr.val1=1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/extending-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = [{ b = 1 }]
# Cannot extend tables within static arrays
# https://github.com/toml-lang/toml/issues/908
[a.c]
foo = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/missing-separator-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arrr = [true false]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/missing-separator-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
wrong = [ 1 2 3 ]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-1 = [ 1, 2, 3
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-2 = [1,
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-3 = [42 #]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-4 = [{ key = 42
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-5 = [{ key = 42}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-6 = [{ key = 42 #}]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-7 = [{ key = 42} #]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-8
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-close-8 = [
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-table-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
x = [{ key = 42
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-close-table-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
x = [{ key = 42 #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-comma-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-comma-1 = [true false]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-comma-2 = [ 1 2 3 ]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/no-comma-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-comma-3 = [ 1 #,]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/only-comma-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
only-comma-1 = [,]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/only-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
only-comma-2 = [,,]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/tables-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# INVALID TOML DOC
fruit = []
[[fruit]] # Not allowed
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/tables-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# INVALID TOML DOC
[[fruit]]
name = "apple"
[[fruit.variety]]
name = "red delicious"
# This table conflicts with the previous table
[fruit.variety]
name = "granny smith"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/text-after-array-entries
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
array = [
"Is there life after an array separator?", No
"Entry"
]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/text-before-array-separator
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
array = [
"Is there life before an array separator?" No,
"Entry"
]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/array/text-in-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
array = [
"Entry 1",
I don't belong,
"Entry 2",
]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/almost-false
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
almost-false = fals
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/almost-false-with-extra
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
almost-false-with-extra = falsify
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/almost-true
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
almost-true = tru
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/almost-true-with-extra
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
almost-true-with-extra = truthy
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/capitalized-false
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
capitalized-false = False
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/capitalized-true
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
capitalized-true = True
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/just-f
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
just-f = f
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/just-t
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
just-t = t
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/mixed-case
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
mixed-case = valid = False
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/mixed-case-false
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
mixed-case-false = falsE
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/mixed-case-true
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
mixed-case-true = trUe
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/starting-same-false
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
starting-same-false = falsey
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/starting-same-true
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
starting-same-true = truer
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/wrong-case-false
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
wrong-case-false = FALSE
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/bool/wrong-case-true
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
wrong-case-true = TRUE
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/bare-cr
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line contains a single carriage return control character
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/bare-formfeed
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bare-formfeed =
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/bare-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bare-null = "some value"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/bare-vertical-tab
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bare-vertical-tab =
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-cr
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-cr = "Carriage return in comment" #
a=1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-del
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-del = "0x7f" #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-ff
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-ff = "0x7f" #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-lf = "ctrl-P" #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-null = "null" #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/comment-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
comment-us = "ctrl-_" #
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/multi-cr
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi-cr = """null
"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/multi-del
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi-del = """null"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/multi-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi-lf = """null"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/multi-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi-null = """null """
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/multi-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi-us = """null"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawmulti-cd
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawmulti-cd = '''null
'''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawmulti-del
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawmulti-del = '''null'''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawmulti-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawmulti-lf = '''null'''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawmulti-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawmulti-null = '''null '''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawmulti-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawmulti-us = '''null'''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawstring-cr
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawstring-cr = 'null
'
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawstring-del
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawstring-del = 'null'
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawstring-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawstring-lf = 'null'
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawstring-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawstring-null = 'null '
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/rawstring-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
rawstring-us = 'null'
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-bs
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-bs = "backspace"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-cr
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-cr = "null
"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-del
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-del = "null"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-lf
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-lf = "null"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-null
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-null = "null "
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/control/string-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string-us = "null"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/feb-29
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"not a leap year" = 2100-02-29T15:15:15Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/feb-30
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30T15:15:15Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/hour-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 2006-01-01T24:00:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/mday-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-32T00:00:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/mday-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-00T00:00:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/minute-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 2006-01-01T00:60:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/month-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01T00:00:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/month-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01T00:00:00-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Month "7" instead of "07"; the leading zero is required.
no-leads = 1987-7-05T17:45:00Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/no-leads-month
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Month "7" instead of "07"; the leading zero is required.
no-leads = 1987-7-05T17:45:00Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/no-leads-with-milli
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Day "5" instead of "05"; the leading zero is required.
with-milli = 1987-07-5T17:45:00.12Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/no-secs
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No seconds in time.
no-secs = 1987-07-05T17:45Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/no-t
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No "t" or "T" between the date and time.
no-t = 1987-07-0517:45:00Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/offset-overflow-hour
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Hour must be 00-24
d = 1985-06-18 17:04:07+25:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/offset-overflow-minute
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Minute must be 00-59; we allow 60 too because some people do write offsets of
# 60 minutes
d = 1985-06-18 17:04:07+12:61
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/second-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-second = 2DIGIT ; 00-58, 00-59, 00-60 based on leap second
# ; rules
d = 2006-01-01T00:00:61-00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/time-no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Leading 0 is always required.
d = 2023-10-01T1:32:00Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/datetime/y10k
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Maximum RFC3399 year is 9999.
d = 10000-01-01 00:00:00z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-codepoint
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Invalid codepoint U+D800 :
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-at-end
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# There is a 0xda at after the quotes, and no EOL at the end of the file.
#
# This is a bit of an edge case: This indicates there should be two bytes
# (0b1101_1010) but there is no byte to follow because it's the end of the file.
x = """"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-comment
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
#
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-multiline
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = """"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-multiline-literal
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = ''''''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-string
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = ""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-string-literal
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = ''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bom-not-at-start-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bom-not-at-start
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/bom-not-at-start-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bom-not-at-start=
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/utf16-bom
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# U T F - 1 6 w i t h B O M
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/utf16-comment
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# U T F - 1 6 w i t h o u t B O M
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/encoding/utf16-key
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
k = " v "
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/double-point-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-point-1 = 0..1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/double-point-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-point-2 = 0.1.2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-double-e-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-double-e-1 = 1ee2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-double-e-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-double-e-2 = 1e2e3
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-double-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-double-us = 1e__23
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-leading-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-leading-us = 1e_23
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-point-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-point-1 = 1e2.3
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-point-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-point-2 = 1.e2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-point-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-point-3 = 3.e+20
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-trailing-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-trailing-us = 1e23_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-trailing-us-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-trailing-us-1 = 1_e2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/exp-trailing-us-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
exp-trailing-us-2 = 1.2_e2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/inf-capital
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
v = Inf
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/inf-incomplete-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inf-incomplete-1 = in
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/inf-incomplete-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inf-incomplete-2 = +in
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/inf-incomplete-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inf-incomplete-3 = -in
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/inf_underscore
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inf_underscore = in_f
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-point
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-point = .12345
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-point-neg
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-point-neg = -.12345
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-point-plus
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-point-plus = +.12345
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-us = _1.2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-zero
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero = 03.14
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-zero-neg
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-neg = -03.14
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/leading-zero-plus
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-plus = +03.14
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/nan-capital
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
v = NaN
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/nan-incomplete-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nan-incomplete-1 = na
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/nan-incomplete-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nan-incomplete-2 = +na
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/nan-incomplete-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nan-incomplete-3 = -na
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/nan_underscore
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
nan_underscore = na_n
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-point
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-point = 1.
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-point-min
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-point-min = -1.
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-point-plus
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-point-plus = +1.
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us = 1.2_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-us-exp-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us-exp-1 = 1_e2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/trailing-us-exp-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us-exp-2 = 1.2_e2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/us-after-point
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
us-after-point = 1._2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/float/us-before-point
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
us-before-point = 1_.2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/bad-key-syntax
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tbl = { a = 1, [b] }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/double-comma
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {x=3,,y=4}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/duplicate-key-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Duplicate keys within an inline table are invalid
a={b=1, b=2}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/duplicate-key-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
table1 = { table2.dupe = 1, table2.dupe = 2 }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/duplicate-key-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tbl = { fruit = { apple.color = "red" }, fruit.apple.texture = { smooth = true } }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/duplicate-key-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tbl = { a.b = "a_b", a.b.c = "a_b_c" }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/empty-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {,}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/empty-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {,
}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/empty-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {
,
}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/linebreak-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No newlines are allowed between the curly braces unless they are valid within
# a value.
simple = { a = 1
}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/linebreak-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {a=1,
b=2}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/linebreak-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {a=1
,b=2}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/linebreak-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
json_like = {
first = "Tom",
last = "Preston-Werner"
}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a={
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a={b=1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/no-comma-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
t = {x = 3 y = 4}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/no-comma-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
arrr = { comma-missing = true valid-toml = false }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-01
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a.b=0
# Since table "a" is already defined, it can't be replaced by an inline table.
a={}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-02
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a={}
# Inline tables are immutable and can't be extended
[a.b]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-03
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = { b = 1 }
a.b = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-04
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inline-t = { nest = {} }
[[inline-t.nest]]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-05
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
inline-t = { nest = {} }
[inline-t.nest]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-06
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = { b = 1, b.c = 2 }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-07
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tab = { inner.table = [{}], inner.table.val = "bad" }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-08
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
tab = { inner = { dog = "best" }, inner.cat = "worst" }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-09
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[tab.nested]
inline-t = { nest = {} }
[tab]
nested.inline-t.nest = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/overwrite-10
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Set implicit "b", overwrite "b" (illegal!) and then set another implicit.
#
# Caused panic: https://github.com/BurntSushi/toml/issues/403
a = {b.a = 1, b = 2, b.c = 3}
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/inline-table/trailing-comma
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# A terminating comma (also called trailing comma) is not permitted after the
# last key/value pair in an inline table
abc = { abc = 123, }
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/capital-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
capital-bin = 0B0
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/capital-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
capital-hex = 0X1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/capital-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
capital-oct = 0O0
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/double-sign-nex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-sign-nex = --99
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/double-sign-plus
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-sign-plus = ++99
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/double-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
double-us = 1__23
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/incomplete-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
incomplete-bin = 0b
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/incomplete-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
incomplete-hex = 0x
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/incomplete-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
incomplete-oct = 0o
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/invalid-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-bin = 0b0012
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/invalid-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-hex = 0xaafz
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/invalid-hex-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-hex-1 = 0xaafz
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/invalid-hex-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-hex-2 = 0xgabba00f1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/invalid-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-oct = 0o778
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-us = _123
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-us-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-us-bin = _0b1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-us-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-us-hex = _0x1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-us-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-us-oct = _0o1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-1 = 01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-2 = 00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-3 = 0_0
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-sign-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-sign-1 = -01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-sign-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-sign-2 = +01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/leading-zero-sign-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
leading-zero-sign-3 = +0_1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/negative-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
negative-bin = -0b11010110
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/negative-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
negative-hex = -0xff
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/negative-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
negative-oct = -0o755
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/positive-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
positive-bin = +0b11010110
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/positive-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
positive-hex = +0xff
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/positive-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
positive-oct = +0o755
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/text-after-integer
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = 42 the ultimate answer?
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/trailing-us
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us = 123_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/trailing-us-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us-bin = 0b1_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/trailing-us-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us-hex = 0x1_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/trailing-us-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
trailing-us-oct = 0o1_
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/us-after-bin
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
us-after-bin = 0b_1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/us-after-hex
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
us-after-hex = 0x_1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/integer/us-after-oct
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
us-after-oct = 0o_1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/after-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[agencies]] owner = "S Cjelli"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/after-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[error] this = "should not be here"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/after-value
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
first = "Tom" last = "Preston-Werner" # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/bare-invalid-character
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bare!key = 123
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/dotted-redefine-table-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = false
a.b = true
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/dotted-redefine-table-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Defined a.b as int
a.b = 1
# Tries to access it as table: error
a.b.c = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/duplicate-keys-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name = "Tom"
name = "Pradyun"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/duplicate-keys-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
dupe = false
dupe = true
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/duplicate-keys-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
spelling = "favorite"
"spelling" = "favourite"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/duplicate-keys-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
spelling = "favorite"
'spelling' = "favourite"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
= 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/end-in-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"backslash is the last char\
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
\u00c0 = "latin capital letter A with grave"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/hash
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a# = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/newline-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
barekey
= 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/newline-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"quoted
key" = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/newline-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
'quoted
key' = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/newline-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"""long
key""" = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/newline-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
'''long
key''' = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/no-eol
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = 1 b = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/open-bracket
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[abc = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/partial-quoted
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
partial"quoted" = 5
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/quoted-unclosed-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"key = x
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/quoted-unclosed-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"key
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/single-open-bracket
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/space
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a b = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/special-character
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
μ = "greek small letter mu"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/start-bracket
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
[xyz = 5
[b]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/start-dot
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
.key = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/two-equals-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key= = 1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/two-equals-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a==1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/two-equals-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a=b=1
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key =
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"key"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"key" =
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
fs.fw
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
fs.fw =
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/key/without-value-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
fs.
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/feb-29
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"not a leap year" = 2100-02-29
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/feb-30
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/mday-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-32
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/mday-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/month-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/month-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Month "7" instead of "07"; the leading zero is required.
no-leads = 1987-7-05
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/no-leads-with-milli
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Day "5" instead of "05"; the leading zero is required.
with-milli = 1987-07-5
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/trailing-t
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Date cannot end with trailing T
d = 2006-01-30T
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-date/y10k
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Maximum RFC3399 year is 9999.
d = 10000-01-01
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/feb-29
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"not a leap year" = 2100-02-29T15:15:15
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/feb-30
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30T15:15:15
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/hour-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 2006-01-01T24:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/mday-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-32T00:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/mday-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-mday = 2DIGIT ; 01-28, 01-29, 01-30, 01-31 based on
# ; month/year
d = 2006-01-00T00:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/minute-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 2006-01-01T00:60:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/month-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01T00:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/month-under
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01T00:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Month "7" instead of "07"; the leading zero is required.
no-leads = 1987-7-05T17:45:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/no-leads-with-milli
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Day "5" instead of "05"; the leading zero is required.
with-milli = 1987-07-5T17:45:00.12
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/no-secs
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No seconds in time.
no-secs = 1987-07-05T17:45
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/no-t
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No "t" or "T" between the date and time.
no-t = 1987-07-0517:45:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/second-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-second = 2DIGIT ; 00-58, 00-59, 00-60 based on leap second
# ; rules
d = 2006-01-01T00:00:61
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/time-no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Leading 0 is always required.
d = 2023-10-01T1:32:00Z
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-datetime/y10k
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Maximum RFC3399 year is 9999.
d = 10000-01-01 00:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/hour-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 24:00:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/minute-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 00:60:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/no-secs
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# No seconds in time.
no-secs = 17:45
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/second-over
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# time-second = 2DIGIT ; 00-58, 00-59, 00-60 based on leap second
# ; rules
d = 00:00:61
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/time-no-leads
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Leading 0 is always required.
d = 1:32:00
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/local-time/time-no-leads-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Leading 0 is always required.
d = 01:32:0
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/inline-table-2-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[product]
type = { name = "Nail" }
type.edible = false # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/inline-table-3-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[product]
type.name = "Nail"
type = { edible = false } # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/key-value-pair-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
key = # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/keys-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
= "no key name" # INVALID
"" = "blank" # VALID but discouraged
'' = 'blank' # VALID but discouraged
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/string-4-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
str4 = """Here are two quotation marks: "". Simple enough."""
str5 = """Here are three quotation marks: """.""" # INVALID
str5 = """Here are three quotation marks: ""\"."""
str6 = """Here are fifteen quotation marks: ""\"""\"""\"""\"""\"."""
# "This," she said, "is just a pointless statement."
str7 = """"This," she said, "is just a pointless statement.""""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/string-7-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
quot15 = '''Here are fifteen quotation marks: """""""""""""""'''
apos15 = '''Here are fifteen apostrophes: '''''''''''''''''' # INVALID
apos15 = "Here are fifteen apostrophes: '''''''''''''''"
# 'That,' she said, 'is still pointless.'
str = ''''That,' she said, 'is still pointless.''''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/table-9-0
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
apple.taste.sweet = true
[fruit.apple] # INVALID
# [fruit.apple.taste] # INVALID
[fruit.apple.texture] # you can add sub-tables
smooth = true
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/spec/table-9-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
apple.taste.sweet = true
# [fruit.apple] # INVALID
[fruit.apple.taste] # INVALID
[fruit.apple.texture] # you can add sub-tables
smooth = true
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-byte-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
naughty = "\xAg"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-concat
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no_concat = "first" "second"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-escape-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-escape = "This string has a bad \a escape character."
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-escape-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-escape = "This string has a bad \ escape character."
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-escape-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
backslash = "\"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-hex-esc-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-hex-esc-1 = "\x0g"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-hex-esc-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-hex-esc-2 = "\xG0"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-hex-esc-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-hex-esc-3 = "\x"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-hex-esc-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-hex-esc-4 = "\x 50"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-hex-esc-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-hex-esc-5 = "\x 50"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-multiline
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
multi = "first line
second line"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-slash-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid-escape = "This string has a bad \/ escape character."
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-1 = "val\ue"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-2 = "val\Ux"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-3 = "val\U0000000"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-4 = "val\U0000"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-5 = "val\Ugggggggg"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-6
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-6 = "This string contains a non scalar unicode codepoint \uD801"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/bad-uni-esc-7
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-uni-esc-7 = "\uabag"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-byte-escapes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
answer = "\x33"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-multiline-out-of-range-unicode-escape-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = """\UFFFFFFFF"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-multiline-out-of-range-unicode-escape-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = """\U00D80000"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-multiline-quotes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
str5 = """Here are three quotation marks: """."""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-multiline-unknown-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = """\@"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-out-of-range-unicode-escape-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = "\UFFFFFFFF"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-out-of-range-unicode-escape-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = "\U00D80000"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/basic-unknown-escape
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = "\@"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/literal-multiline-quotes-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = '''6 apostrophes: ''''''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/literal-multiline-quotes-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = '''15 apostrophes: ''''''''''''''''''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/missing-quotes
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
name = value
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-bad-escape-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
k = """t\a"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-bad-escape-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# \ is not a valid escape.
k = """t\ t"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-bad-escape-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# \ is not a valid escape.
k = """t\ """
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-bad-escape-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
backslash = """\"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-escape-space-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = """
foo \ \n
bar"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-escape-space-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bee = """
hee \
gee \ """
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-lit-no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid = '''
this will fail
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-lit-no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
x='''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-lit-no-close-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
not-closed= '''
diibaa
blibae ete
eteta
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-lit-no-close-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bee = '''
hee
gee ''
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
invalid = """
this will fail
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
x="""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-no-close-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
not-closed= """
diibaa
blibae ete
eteta
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-no-close-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bee = """
hee
gee ""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-no-close-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bee = """
hee
gee\
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/multiline-quotes-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a = """6 quotes: """"""
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-ending-quote = "One time, at band camp
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
"a-string".must-be = "closed
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/no-close-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
no-ending-quote = 'One time, at band camp
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/no-close-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
'a-string'.must-be = 'closed
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/text-after-string
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
string = "Is there life after strings?" No.
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/string/wrong-close
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
bad-ending-quote = "double and single'
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/append-to-array-with-dotted-keys
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[a.b]]
[a]
b.y = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/append-with-dotted-keys-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# First a.b.c defines a table: a.b.c = {z=9}
#
# Then we define a.b.c.t = "str" to add a str to the above table, making it:
#
# a.b.c = {z=9, t="..."}
#
# While this makes sense, logically, it was decided this is not valid TOML as
# it's too confusing/convoluted.
#
# See: https://github.com/toml-lang/toml/issues/846
# https://github.com/toml-lang/toml/pull/859
[a.b.c]
z = 9
[a]
b.c.t = "Using dotted keys to add to [a.b.c] after explicitly defining it above is not allowed"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/append-with-dotted-keys-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This is the same issue as in injection-1.toml, except that nests one level
# deeper. See that file for a more complete description.
[a.b.c.d]
z = 9
[a]
b.c.d.k.t = "Using dotted keys to add to [a.b.c.d] after explicitly defining it above is not allowed"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/array-empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[]]
name = "Born to Run"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/array-implicit
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# This test is a bit tricky. It should fail because the first use of
# `[[albums.songs]]` without first declaring `albums` implies that `albums`
# must be a table. The alternative would be quite weird. Namely, it wouldn't
# comply with the TOML spec: "Each double-bracketed sub-table will belong to
# the most *recently* defined table element *above* it."
#
# This is in contrast to the *valid* test, table-array-implicit where
# `[[albums.songs]]` works by itself, so long as `[[albums]]` isn't declared
# later. (Although, `[albums]` could be.)
[[albums.songs]]
name = "Glory Days"
[[albums]]
name = "Born in the USA"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/array-no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[albums]
name = "Born to Run"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/array-no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[closing-bracket.missing]
blaa=2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]
b = 1
[a]
c = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-key-dotted-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
[[fruit.apple]]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-key-dotted-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.color = "red"
[fruit.apple] # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-key-dotted-table2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
apple.taste.sweet = true
[fruit.apple.taste] # INVALID
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-key-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fruit]
type = "apple"
[fruit.type]
apple = "yes"
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-table-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[tbl]
[[tbl]]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/duplicate-table-array2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[tbl]]
[tbl]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/empty
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/empty-implicit-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[naughty..naughty]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/equals-sign
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[name=bad]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/llbrace
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[ [table]]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/nested-brackets-close
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a]b]
zyx = 42
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/nested-brackets-open
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a[b]
zyx = 42
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/no-close-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[where will it end
name = value
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/no-close-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[closing-bracket.missingö
blaa=2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/no-close-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
["where will it end]
name = value
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/no-close-4
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/no-close-5
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[fwfw.wafw
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/overwrite-array-in-parent
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[parent-table.arr]]
[parent-table]
not-arr = 1
arr = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/overwrite-bool-with-array
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a=true
[[a]]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/overwrite-with-deep-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
a=1
[a.b.c.d]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/redefine-1
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
# Define b as int, and try to use it as a table: error
[a]
b = 1
[a.b]
c = 2
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/redefine-2
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[t1]
t2.t3.v = 0
[t1.t2]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/redefine-3
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[t1]
t2.t3.v = 0
[t1.t2.t3]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/rrbrace
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[[table] ]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/super-twice
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[a.b]
[a]
[a]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/text-after-table
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[error] this shouldn't be here
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/whitespace
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[invalid key]
output from parser-cmd (stdout):
want:
Exit code 1
FAIL invalid/table/with-pound
fork/exec ./src/racket-toml-racket/toml-compliance/compliance/decoder: no such file or directory
input sent to parser-cmd:
[key#group]
answer = 42
output from parser-cmd (stdout):
want:
Exit code 1
toml-test v2024-05-31 [./src/racket-toml-racket/toml-compliance/compliance/decoder]: using embedded tests
valid tests: 0 passed, 182 failed
invalid tests: 0 passed, 371 failed
==> ENCODER TESTS
FAIL valid/float/max-int
Values for key "max_float" differ:
Expected: 9007199254740991 (float64)
Your encoder: 9007199254740991 (int64)
input sent to parser-cmd:
{
"max_float": {"type": "float", "value": "9007199254740991"},
"min_float": {"type": "float", "value": "-9007199254740991"}
}
output from parser-cmd (stdout):
max_float = 9007199254740991
min_float = -9007199254740991
want:
# Maximum and minimum safe natural numbers.
max_float = 9_007_199_254_740_991.0
min_float = -9_007_199_254_740_991.0
FAIL valid/float/zero
Values for key "exponent-signed-neg" differ:
Expected: -0 (float64)
Your encoder: 0 (int64)
input sent to parser-cmd:
{
"exponent": {"type": "float", "value": "0"},
"exponent-signed-neg": {"type": "float", "value": "-0"},
"exponent-signed-pos": {"type": "float", "value": "0"},
"exponent-two-0": {"type": "float", "value": "0"},
"signed-neg": {"type": "float", "value": "-0"},
"signed-pos": {"type": "float", "value": "0"},
"zero": {"type": "float", "value": "0"}
}
output from parser-cmd (stdout):
exponent = 0.0
exponent-signed-neg = 0
exponent-signed-pos = 0.0
exponent-two-0 = 0.0
signed-neg = 0
signed-pos = 0.0
zero = 0.0
want:
zero = 0.0
signed-pos = +0.0
signed-neg = -0.0
exponent = 0e0
exponent-two-0 = 0e00
exponent-signed-pos = +0e0
exponent-signed-neg = -0e0
FAIL valid/inline-table/array-values
Could not find key "a.a" in encoder output
input sent to parser-cmd:
{
"a": {"a": []},
"b": {
"a": [
{"type": "integer", "value": "1"},
{"type": "integer", "value": "2"}
],
"b": [
{"type": "integer", "value": "3"},
{"type": "integer", "value": "4"}
]
}
}
output from parser-cmd (stdout):
[a]
[b]
a = [
1,
2,
]
b = [
3,
4,
]
want:
# "No newlines are allowed between the curly braces unless they are valid within
# a value"
a = { a = [
]}
b = { a = [
1,
2,
], b = [
3,
4,
]}
FAIL valid/inline-table/key-dotted-5
Could not find key "arr-2.a" in encoder output
input sent to parser-cmd:
{
"arr-1": [{
"a": {
"b": {"type": "integer", "value": "1"}
}
}],
"arr-2": [
{"type": "string", "value": "str"},
{
"a": {
"b": {"type": "integer", "value": "1"}
}
}
],
"arr-3": [
{
"a": {
"b": {"type": "integer", "value": "1"}
}
},
{
"a": {
"b": {"type": "integer", "value": "2"}
}
}
],
"arr-4": [
{"type": "string", "value": "str"},
{
"a": {
"b": {"type": "integer", "value": "1"}
}
},
{
"a": {
"b": {"type": "integer", "value": "2"}
}
}
]
}
output from parser-cmd (stdout):
arr-2 = [
"str",
{ },
]
arr-4 = [
"str",
{ },
{ },
]
[[arr-1]]
[arr-1.a]
b = 1
[[arr-3]]
[arr-3.a]
b = 1
[[arr-3]]
[arr-3.a]
b = 2
want:
arr-1 = [{a.b = 1}]
arr-2 = ["str", {a.b = 1}]
arr-3 = [{a.b = 1}, {a.b = 2}]
arr-4 = ["str", {a.b = 1}, {a.b = 2}]
FAIL valid/inline-table/spaces
Values for key "clap-2.nest.b" differ:
Expected: 9 (float64)
Your encoder: 9 (int64)
input sent to parser-cmd:
{
"clap-1": {
"version": {"type": "string", "value": "4"},
"features": [
{"type": "string", "value": "derive"},
{"type": "string", "value": "cargo"}
]
},
"clap-2": {
"version": {"type": "string", "value": "4"},
"features": [
{"type": "string", "value": "derive"},
{"type": "string", "value": "cargo"}
],
"nest": {
"a": {"type": "string", "value": "x"},
"b": [
{"type": "float", "value": "1.5"},
{"type": "float", "value": "9"}
]
}
}
}
output from parser-cmd (stdout):
[clap-1]
features = [
"derive",
"cargo",
]
version = "4"
[clap-2]
features = [
"derive",
"cargo",
]
version = "4"
[clap-2.nest]
a = "x"
b = [
1.5,
9,
]
want:
# https://github.com/toml-lang/toml-test/issues/146
clap-1 = { version = "4" , features = ["derive", "cargo"] }
# Contains some literal tabs!
clap-2 = { version = "4" , features = [ "derive" , "cargo" ] , nest = { "a" = 'x' , 'b' = [ 1.5 , 9.0 ] } }
FAIL valid/key/quoted-unicode
decode TOML from encoder:
toml: line 3 (last key "\x00"): Key '"\u0000"' has already been defined.
input sent to parser-cmd:
{
"\u0000": {"type": "string", "value": "null"},
"\b \f A ÿ 𐀀 ": {"type": "string", "value": "escaped key"},
"\\u0000": {"type": "string", "value": "different key"},
"l ~ ÿ 𐀀 ": {"type": "string", "value": "literal key"},
"~ ÿ 𐀀 ": {"type": "string", "value": "basic key"}
}
output from parser-cmd (stdout):
"\u0000" = "null"
"\b \f A \u007f ÿ 𐀀 " = "escaped key"
"\u0000" = "different key"
"l ~ ÿ 𐀀 " = "literal key"
"~ ÿ 𐀀 " = "basic key"
want:
"\u0000" = "null"
'\u0000' = "different key"
"\u0008 \u000c \U00000041 \u007f \u0080 \u00ff \ud7ff \ue000 \uffff \U00010000 \U0010ffff" = "escaped key"
"~ ÿ 𐀀 " = "basic key"
'l ~ ÿ 𐀀 ' = "literal key"
FAIL valid/spec/float-0
Values for key "flt1" differ:
Expected: 1 (float64)
Your encoder: 1 (int64)
input sent to parser-cmd:
{
"flt1": {"type": "float", "value": "1"},
"flt2": {"type": "float", "value": "3.1415"},
"flt3": {"type": "float", "value": "-0.01"},
"flt4": {"type": "float", "value": "5e+22"},
"flt5": {"type": "float", "value": "1e+06"},
"flt6": {"type": "float", "value": "-0.02"},
"flt7": {"type": "float", "value": "6.626e-34"}
}
output from parser-cmd (stdout):
flt1 = 1
flt2 = 3.1415
flt3 = -0.01
flt4 = 5e+22
flt5 = 1000000.0
flt6 = -0.02
flt7 = 6.626e-34
want:
# fractional
flt1 = +1.0
flt2 = 3.1415
flt3 = -0.01
# exponent
flt4 = 5e+22
flt5 = 1e06
flt6 = -2E-2
# both
flt7 = 6.626e-34
toml-test v2024-05-31 [./src/racket-toml-racket/toml-compliance/compliance/encoder]: using embedded tests
encoder tests: 175 passed, 7 failed
took 0.0 0.0