taplo version 0.13.2
FAIL valid/array/array
     Key "dates" is not "datetime-local" but "datetime":
       Expected:     map[string]any{"type":"datetime-local", "value":"1979-05-27T07:32:00"}
       Your encoder: map[string]any{"type":"datetime", "value":"1970-01-01T00:00:00Z"}

     input sent to parser-cmd (PID 17193):
       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:00,
       	2006-06-01,
       	11:00:00,
       ]
       comments = [
                1,
                2, #this is ok
       ]

     output from parser-cmd (PID 17193) (stdout):
       {
         "comments": [
           {"type": "integer", "value": "1"},
           {"type": "integer", "value": "2"}
         ],
         "dates": [
           {"type": "datetime", "value": "1987-07-05T17:45:00Z"},
           {"type": "datetime", "value": "1970-01-01T00:00:00Z"},
           {"type": "date-local", "value": "2006-06-01"},
           {"type": "time-local", "value": "11:00:00"}
         ],
         "floats": [
           {"type": "float", "value": "1.1"},
           {"type": "float", "value": "2.1"},
           {"type": "float", "value": "3.1"}
         ],
         "ints": [
           {"type": "integer", "value": "1"},
           {"type": "integer", "value": "2"},
           {"type": "integer", "value": "3"}
         ],
         "strings": [
           {"type": "string", "value": "a"},
           {"type": "string", "value": "b"},
           {"type": "string", "value": "c"}
         ]
       }

     want:
       {
           "comments": [
               {"type": "integer", "value": "1"},
               {"type": "integer", "value": "2"}
           ],
           "dates": [
               {"type": "datetime", "value": "1987-07-05T17:45:00Z"},
               {"type": "datetime-local", "value": "1979-05-27T07:32:00"},
               {"type": "date-local", "value": "2006-06-01"},
               {"type": "time-local", "value": "11:00:00"}
           ],
           "floats": [
               {"type": "float", "value": "1.1"},
               {"type": "float", "value": "2.1"},
               {"type": "float", "value": "3.1"}
           ],
           "ints": [
               {"type": "integer", "value": "1"},
               {"type": "integer", "value": "2"},
               {"type": "integer", "value": "3"}
           ],
           "strings": [
               {"type": "string", "value": "a"},
               {"type": "string", "value": "b"},
               {"type": "string", "value": "c"}
           ]
       }

FAIL valid/comment/nonascii
     Error: Error { message: "invalid character in comment (4..4)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17222):
       # ~ € ÿ ퟿  ￿ 𐀀 􏿿

     output from parser-cmd (PID 17222) (stderr):
       Error: Error { message: "invalid character in comment (4..4)\n" }

       Exit 1

     want:
          

FAIL valid/datetime/edge
     Error: Error { message: "expected value (15..25)\nexpected new line (26..34)\nexpected new line (34..35)\nexpected value (51..61)\nexpected new line (62..70)\nexpected value (86..96)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17226):
       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 (PID 17226) (stderr):
       Error: Error { message: "expected value (15..25)\nexpected new line (26..34)\nexpected new line (34..35)\nexpected value (51..61)\nexpected new line (62..70)\nexpected value (86..96)\n" }

       Exit 1

     want:
          

FAIL valid/key/like-date
     Error: Error { message: "expected identifier (361..371)\nexpected identifier (371..372)\nexpected new line (372..382)\nexpected new line (383..384)\nexpected new line (385..386)\nexpected identifier (387..397)\nexpected identifier (397..398)\nexpected new line (398..399)\nexpected new line (399..400)\nexpected new line (400..410)\nexpected new line (411..412)\nexpected new line (413..414)\nexpected identifier (431..441)\nexpected identifier (441..442)\nexpected identifier (452..462)\nexpected identifier (462..463)\nexpected new line (463..473)\nexpected new line (473..474)\nexpected identifier (485..495)\nexpected identifier (495..496)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17302):
       # '-' is a valid character in keys: make a key that looks like a date.
       2001-02-03   = 1
       "2001-02-04" = 2
       '2001-02-05' = 3

       # Also include datetime and time for good measure; these need to be quoted as
       # ':' isn't a valid bare key.
       "2001-02-06T15:16:17+01:00" = 4
       "2001-02-07T15:16:17"       = 5
       "15:16:17"                  = 6

       # Dotted keys
       a.2001-02-08 = 7
       a.2001-02-09.2001-02-10 = 8
       2001-02-11.a.2001-02-12 = 9

       # Table names
       [2002-01-02]
       k = 10

       [2002-01-02.2024-01-03]
       k = 11

       [[2002-01-04]]
       k = 12

     output from parser-cmd (PID 17302) (stderr):
       Error: Error { message: "expected identifier (361..371)\nexpected identifier (371..372)\nexpected new line (372..382)\nexpected new line (383..384)\nexpected new line (385..386)\nexpected identifier (387..397)\nexpected identifier (397..398)\nexpected new line (398..399)\nexpected new line (399..400)\nexpected new line (400..410)\nexpected new line (411..412)\nexpected new line (413..414)\nexpected identifier (431..441)\nexpected identifier (441..442)\nexpected identifier (452..462)\nexpected identifier (462..463)\nexpected new line (463..473)\nexpected new line (473..474)\nexpected identifier (485..495)\nexpected identifier (495..496)\n" }

       Exit 1

     want:
          

FAIL valid/key/numeric-04
     Error: Error { message: "zero-padded numbers are not allowed (0..5)\nexpected identifier (6..7)\nexpected new line (8..12)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17306):
       01.23 = true

     output from parser-cmd (PID 17306) (stderr):
       Error: Error { message: "zero-padded numbers are not allowed (0..5)\nexpected identifier (6..7)\nexpected new line (8..12)\n" }

       Exit 1

     want:
          

FAIL valid/key/quoted-unicode
     Error: Error { message: "invalid control character in string literal (205..205)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17303):

       "\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 (PID 17303) (stderr):
       Error: Error { message: "invalid control character in string literal (205..205)\n" }

       Exit 1

     want:
          

FAIL valid/string/quoted-unicode
     Error: Error { message: "invalid control character in string literal (303..303)\n" }
 
     Exit 1

     input sent to parser-cmd (PID 17384):

       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 (PID 17384) (stderr):
       Error: Error { message: "invalid control character in string literal (303..303)\n" }

       Exit 1

     want:
          

FAIL invalid/control/multi-cr
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 17479):
       multi-cr   = """null
"""

     output from parser-cmd (PID 17479) (stdout):
       {
         "multi-cr": {"type": "string", "value": "null\r"}
       }

     want:
       Exit code 1

FAIL invalid/control/rawmulti-cr
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 17503):
       rawmulti-cr   = '''null
'''

     output from parser-cmd (PID 17503) (stdout):
       {
         "rawmulti-cr": {"type": "string", "value": "null\r"}
       }

     want:
       Exit code 1

FAIL invalid/table/append-with-dotted-keys-04
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 17898):
       [dependencies.foo]
       version = "0.16"

       [dependencies]
       libc = "0.2"

       [dependencies]
       rand = "0.3.14"

     output from parser-cmd (PID 17898) (stdout):
       {
         "dependencies": {
           "libc": {"type": "string", "value": "0.2"},
           "rand": {"type": "string", "value": "0.3.14"},
           "foo": {
             "version": {"type": "string", "value": "0.16"}
           }
         }
       }

     want:
       Exit code 1

FAIL invalid/table/super-twice
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 17962):
       [a.b]
       [a]
       [a]

     output from parser-cmd (PID 17962) (stdout):
       {
         "a": {
           "b": {}
         }
       }

     want:
       Exit code 1

toml-test v2025-04-23 [./scripts/target/release/taplo-decoder]: using embedded tests
  valid tests: 198 passed,  7 failed
invalid tests: 525 passed,  4 failed

==> ENCODER TESTS
(not supported)
took 0.7 12.46