tomlrb version a1eaa06
FAIL invalid/array/double-comma-1
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       double-comma-1 = [1,,2]

     output from parser-cmd (stdout):
       {
         "double-comma-1": [
           {"type": "integer", "value": "1"},
           {"type": "integer", "value": "2"}
         ]
       }

     want:
       Exit code 1

FAIL invalid/array/double-comma-2
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       double-comma-2 = [1,2,,]

     output from parser-cmd (stdout):
       {
         "double-comma-2": [
           {"type": "integer", "value": "1"},
           {"type": "integer", "value": "2"}
         ]
       }

     want:
       Exit code 1

FAIL invalid/array/only-comma-1
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       only-comma-1 = [,]

     output from parser-cmd (stdout):
       {
         "only-comma-1": []
       }

     want:
       Exit code 1

FAIL invalid/array/only-comma-2
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       only-comma-2 = [,,]

     output from parser-cmd (stdout):
       {
         "only-comma-2": []
       }

     want:
       Exit code 1

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

     input sent to parser-cmd:
       multi-cr   = """null
"""

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

     want:
       Exit code 1

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

     input sent to parser-cmd:
       rawmulti-cd   = '''null
'''

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

     want:
       Exit code 1

FAIL invalid/datetime/feb-29
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "not a leap year" = 2100-02-29T15:15:15Z

     output from parser-cmd (stdout):
       {
         "not a leap year": {"type": "datetime", "value": "2100-03-01T15:15:15Z"}
       }

     want:
       Exit code 1

FAIL invalid/datetime/feb-30
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "only 28 or 29 days in february" = 1988-02-30T15:15:15Z

     output from parser-cmd (stdout):
       {
         "only 28 or 29 days in february": {"type": "datetime", "value": "1988-03-01T15:15:15Z"}
       }

     want:
       Exit code 1

FAIL invalid/inline-table/duplicate-key-3
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       tbl = { fruit = { apple.color = "red" }, fruit.apple.texture = { smooth = true } }

     output from parser-cmd (stdout):
       {
         "tbl": {
           "fruit": {
             "apple": {
               "color": {"type": "string", "value": "red"},
               "texture": {
                 "smooth": {"type": "bool", "value": "true"}
               }
             }
           }
         }
       }

     want:
       Exit code 1

FAIL invalid/inline-table/overwrite-03
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       a = { b = 1 }
       a.b = 2

     output from parser-cmd (stdout):
       {
         "a": {
           "b": {"type": "integer", "value": "2"}
         }
       }

     want:
       Exit code 1

FAIL invalid/inline-table/overwrite-08
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       tab = { inner = { dog = "best" }, inner.cat = "worst" }

     output from parser-cmd (stdout):
       {
         "tab": {
           "inner": {
             "cat": {"type": "string", "value": "worst"},
             "dog": {"type": "string", "value": "best"}
           }
         }
       }

     want:
       Exit code 1

FAIL invalid/key/dotted-redefine-table-1
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       a = false
       a.b = true

     output from parser-cmd (stdout):
       {
         "a": {
           "b": {"type": "bool", "value": "true"}
         }
       }

     want:
       Exit code 1

FAIL invalid/local-date/feb-29
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "not a leap year" = 2100-02-29

     output from parser-cmd (stdout):
       {
         "not a leap year": {"type": "date-local", "value": "2100-03-01"}
       }

     want:
       Exit code 1

FAIL invalid/local-date/feb-30
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "only 28 or 29 days in february" = 1988-02-30

     output from parser-cmd (stdout):
       {
         "only 28 or 29 days in february": {"type": "date-local", "value": "1988-03-01"}
       }

     want:
       Exit code 1

FAIL invalid/local-datetime/feb-29
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "not a leap year" = 2100-02-29T15:15:15

     output from parser-cmd (stdout):
       {
         "not a leap year": {"type": "datetime-local", "value": "2100-03-01T15:15:15"}
       }

     want:
       Exit code 1

FAIL invalid/local-datetime/feb-30
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       "only 28 or 29 days in february" = 1988-02-30T15:15:15

     output from parser-cmd (stdout):
       {
         "only 28 or 29 days in february": {"type": "datetime-local", "value": "1988-03-01T15:15:15"}
       }

     want:
       Exit code 1

FAIL invalid/local-datetime/hour-over
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       # time-hour       = 2DIGIT  ; 00-23
       d = 2006-01-01T24:00:00

     output from parser-cmd (stdout):
       {
         "d": {"type": "datetime-local", "value": "2006-01-02T00:00:00"}
       }

     want:
       Exit code 1

FAIL invalid/local-time/hour-over
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       # time-hour       = 2DIGIT  ; 00-23
       d = 24:00:00

     output from parser-cmd (stdout):
       {
         "d": {"type": "time-local", "value": "00:00:00"}
       }

     want:
       Exit code 1

FAIL invalid/string/bad-escape-3
     Expected an error, but no error was reported.

     input sent to parser-cmd:
       backslash = "\"

     output from parser-cmd (stdout):
       {
         "backslash": {"type": "string", "value": "\\"}
       }

     want:
       Exit code 1

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

     input sent to parser-cmd:
       [a.b]
       [a]
       [a]

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

     want:
       Exit code 1

toml-test v2024-05-31 [./src/ruby-tomlrb/ruby-tomlrb-decoder]: using embedded tests
  valid tests: 182 passed,  0 failed
invalid tests: 351 passed, 20 failed

==> ENCODER TESTS
(not supported)
took 7.6 5.04