TOMLDecoder version 7dd5603
FAIL valid/array/array
     Malformed output from your encoder: key "dates" is not a datetime: "1979-05-27T07:32:00Z"

     input sent to parser-cmd (PID 20050):
       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 20050) (stdout):
       {
         "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:00Z"},
           {"type": "date-local", "value": "2006-06-01"},
           {"type": "time-local", "value": "11:00:00.000"}
         ],
         "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/datetime/edge
     Malformed output from your encoder: key "first-local" is not a datetime: "0001-01-01T00:00:00Z"

     input sent to parser-cmd (PID 20102):
       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 20102) (stdout):
       {
         "first-date":   {"type": "date-local", "value": "0001-01-01"},
         "first-local":  {"type": "datetime-local", "value": "0001-01-01T00:00:00Z"},
         "first-offset": {"type": "datetime", "value": "0001-01-03T00:00:00Z"},
         "last-date":    {"type": "date-local", "value": "9999-12-31"},
         "last-local":   {"type": "datetime-local", "value": "9999-12-31T23:59:59Z"},
         "last-offset":  {"type": "datetime", "value": "9999-12-31T23:59:59Z"}
       }

     want:
       {
           "first-date":   {"type": "date-local", "value": "0001-01-01"},
           "first-local":  {"type": "datetime-local", "value": "0001-01-01T00:00:00"},
           "first-offset": {"type": "datetime", "value": "0001-01-01T00:00:00Z"},
           "last-date":    {"type": "date-local", "value": "9999-12-31"},
           "last-local":   {"type": "datetime-local", "value": "9999-12-31T23:59:59"},
           "last-offset":  {"type": "datetime", "value": "9999-12-31T23:59:59Z"}
       }

FAIL valid/datetime/leap-year
     Exit 1

     input sent to parser-cmd (PID 20103):
       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 (PID 20103) (stderr):
       Exit 1

     want:
          

FAIL valid/datetime/local
     Malformed output from your encoder: key "local" is not a datetime: "1987-07-05T17:45:00Z"

     input sent to parser-cmd (PID 20106):
       local = 1987-07-05T17:45:00
       milli = 1977-12-21T10:32:00.555
       space = 1987-07-05 17:45:00

     output from parser-cmd (PID 20106) (stdout):
       {
         "local": {"type": "datetime-local", "value": "1987-07-05T17:45:00Z"},
         "milli": {"type": "datetime-local", "value": "1977-12-21T10:32:00Z"},
         "space": {"type": "datetime-local", "value": "1987-07-05T17:45:00Z"}
       }

     want:
       {
           "local": {"type": "datetime-local", "value": "1987-07-05T17:45:00"},
           "milli": {"type": "datetime-local", "value": "1977-12-21T10:32:00.555"},
           "space": {"type": "datetime-local", "value": "1987-07-05T17:45:00"}
       }

FAIL valid/datetime/milliseconds
     Values for key "utc1" don't match:
       Expected:     1987-07-05 17:45:56.123 +0000 UTC
       Your encoder: 1987-07-05 17:45:56 +0000 UTC

     input sent to parser-cmd (PID 20107):
       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 (PID 20107) (stdout):
       {
         "utc1":  {"type": "datetime", "value": "1987-07-05T17:45:56Z"},
         "utc2":  {"type": "datetime", "value": "1987-07-05T17:45:56Z"},
         "wita1": {"type": "datetime", "value": "1987-07-05T09:45:56Z"},
         "wita2": {"type": "datetime", "value": "1987-07-05T09:45:56Z"}
       }

     want:
       {
           "utc1":  {"type": "datetime", "value": "1987-07-05T17:45:56.123Z"},
           "utc2":  {"type": "datetime", "value": "1987-07-05T17:45:56.600Z"},
           "wita1": {"type": "datetime", "value": "1987-07-05T17:45:56.123+08:00"},
           "wita2": {"type": "datetime", "value": "1987-07-05T17:45:56.600+08:00"}
       }

FAIL valid/spec-1.0.0/local-date-time-0
     Malformed output from your encoder: key "ldt1" is not a datetime: "1979-05-27T07:32:00Z"

     input sent to parser-cmd (PID 20205):
       ldt1 = 1979-05-27T07:32:00
       ldt2 = 1979-05-27T00:32:00.999

     output from parser-cmd (PID 20205) (stdout):
       {
         "ldt1": {"type": "datetime-local", "value": "1979-05-27T07:32:00Z"},
         "ldt2": {"type": "datetime-local", "value": "1979-05-27T00:32:00Z"}
       }

     want:
       {
           "ldt1": {"type": "datetime-local", "value": "1979-05-27T07:32:00"},
           "ldt2": {"type": "datetime-local", "value": "1979-05-27T00:32:00.999"}
       }

FAIL valid/spec-1.0.0/offset-date-time-0
     Values for key "odt3" don't match:
       Expected:     1979-05-27 00:32:00.999 -0700 -0700
       Your encoder: 1979-05-27 07:32:00 +0000 UTC

     input sent to parser-cmd (PID 20207):
       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 (PID 20207) (stdout):
       {
         "odt1": {"type": "datetime", "value": "1979-05-27T07:32:00Z"},
         "odt2": {"type": "datetime", "value": "1979-05-27T07:32:00Z"},
         "odt3": {"type": "datetime", "value": "1979-05-27T07:32:00Z"}
       }

     want:
       {
           "odt1": {"type": "datetime", "value": "1979-05-27T07:32:00Z"},
           "odt2": {"type": "datetime", "value": "1979-05-27T00:32:00-07:00"},
           "odt3": {"type": "datetime", "value": "1979-05-27T00:32:00.999-07:00"}
       }

FAIL invalid/array/extend-defined-aot
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 20281):
       [[tab.arr]]
       [tab]
       arr.val1=1

     output from parser-cmd (PID 20281) (stdout):
       {
         "tab": {"arr": [{
           "val1": {"type": "integer", "value": "1"}
         }]}
       }

     want:
       Exit code 1

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

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

     output from parser-cmd (PID 20343) (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 20350):
       rawmulti-cr   = '''null
'''

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

     want:
       Exit code 1

FAIL invalid/datetime/second-trailing-dot
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 20399):
       foo = 1997-09-09T09:09:09.

     output from parser-cmd (PID 20399) (stdout):
       {
         "foo": {"type": "datetime-local", "value": "1997-09-09T09:09:09Z"}
       }

     want:
       Exit code 1

FAIL invalid/datetime/second-trailing-dotz
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 20395):
       foo = 2016-09-09T09:09:09.Z

     output from parser-cmd (PID 20395) (stdout):
       {
         "foo": {"type": "datetime", "value": "2016-09-09T09:09:09Z"}
       }

     want:
       Exit code 1

FAIL invalid/local-time/trailing-dot
     Expected an error, but no error was reported.

     input sent to parser-cmd (PID 20646):
       t = 12:13:14.

     output from parser-cmd (PID 20646) (stdout):
       {
         "t": {"type": "time-local", "value": "12:13:14.000"}
       }

     want:
       Exit code 1

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

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

       [a]
       b.y = 2

     output from parser-cmd (PID 20746) (stdout):
       {
         "a": {"b": [{
           "y": {"type": "integer", "value": "2"}
         }]}
       }

     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 20747):
       [dependencies.foo]
       version = "0.16"

       [dependencies]
       libc = "0.2"

       [dependencies]
       rand = "0.3.14"

     output from parser-cmd (PID 20747) (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 20800):
       [a.b]
       [a]
       [a]

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

     want:
       Exit code 1

toml-test v2025-04-23 [./compliance]: using embedded tests
  valid tests: 198 passed,  7 failed
invalid tests: 520 passed,  9 failed

==> ENCODER TESTS
(not supported)
took 0.0 0.0