toml.dart version e9fe9b4
FAIL invalid/datetime/feb-29
exit status 255
input sent to parser-cmd:
"not a leap year" = 2100-02-29T15:15:15Z
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2100-02: 29
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/feb-30
exit status 255
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30T15:15:15Z
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 1988-02: 30
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/hour-over
exit status 255
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 2006-01-01T24:00:00-00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid hour: 24
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:155)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/mday-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 32
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/mday-under
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 0
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/minute-over
exit status 255
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 2006-01-01T00:60:00-00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid minute: 60
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:157)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/month-over
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01T00:00:00-00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 13
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/month-under
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01T00:00:00-00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 00
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/offset-overflow-hour
exit status 255
input sent to parser-cmd:
# Hour must be 00-24
d = 1985-06-18 17:04:07+25:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid hours of time-zone offset: 25
#0 new TomlTimeZoneOffset._ (package:toml/src/ast/value/date_time.dart:268)
#1 new TomlTimeZoneOffset.positive (package:toml/src/ast/value/date_time.dart:297)
#2 TomlTimeZoneOffset._positiveParser. (package:toml/src/ast/value/date_time.dart:231)
#3 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#4 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:72)
#5 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:61)
#6 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#10 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#11 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#12 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#13 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#16 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#17 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#20 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#21 Parser.parse (package:petitparser/src/core/parser.dart:51)
#22 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#23 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/offset-overflow-minute
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid minutes of time-zone offset: 61
#0 new TomlTimeZoneOffset._ (package:toml/src/ast/value/date_time.dart:271)
#1 new TomlTimeZoneOffset.positive (package:toml/src/ast/value/date_time.dart:297)
#2 TomlTimeZoneOffset._positiveParser. (package:toml/src/ast/value/date_time.dart:231)
#3 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#4 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:72)
#5 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:61)
#6 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#10 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#11 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#12 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#13 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#16 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#17 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#20 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#21 Parser.parse (package:petitparser/src/core/parser.dart:51)
#22 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#23 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/datetime/second-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid second: 61
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:163)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/encoding/bad-codepoint
exit status 255
input sent to parser-cmd:
# Invalid codepoint U+D800 : í €
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Encoded surrogate (at offset 30)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-at-end
exit status 255
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 (stderr):
Unhandled exception:
FormatException: Unfinished UTF-8 octet sequence
#0 _Utf8Decoder.flush (dart:convert/utf.dart:593)
#1 _Utf8ConversionSink.close (dart:convert/string_conversion.dart:289)
#2 _ConverterStreamEventSink.close (dart:convert/chunked_conversion.dart:78)
#3 _SinkTransformerStreamSubscription._handleDone (dart:async/stream_transformers.dart:132)
#4 _RootZone.runGuarded (dart:async/zone.dart:1582)
#5 _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:418)
#6 _BufferingStreamSubscription._sendDone (dart:async/stream_impl.dart:428)
#7 _BufferingStreamSubscription._close (dart:async/stream_impl.dart:317)
#8 _SyncStreamControllerDispatch._sendDone (dart:async/stream_controller.dart:792)
#9 _StreamController._closeUnchecked (dart:async/stream_controller.dart:647)
#10 _StreamController.close (dart:async/stream_controller.dart:640)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2456)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1943)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1372)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-comment
exit status 255
input sent to parser-cmd:
# Ã
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Missing extension byte (at offset 3)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-multiline
exit status 255
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = """Ã"""
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Missing extension byte (at offset 67)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-multiline-literal
exit status 255
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = '''Ã'''
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Missing extension byte (at offset 67)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-string
exit status 255
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = "Ã"
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Missing extension byte (at offset 65)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bad-utf8-in-string-literal
exit status 255
input sent to parser-cmd:
# The following line contains an invalid UTF-8 sequence.
bad = 'Ã'
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Missing extension byte (at offset 65)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bom-not-at-start-1
exit status 255
input sent to parser-cmd:
bom-not-at-start ÿý
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Invalid UTF-8 byte (at offset 17)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/bom-not-at-start-2
exit status 255
input sent to parser-cmd:
bom-not-at-start= ÿý
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Invalid UTF-8 byte (at offset 18)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/encoding/utf16-bom
exit status 255
input sent to parser-cmd:
þÿ # U T F - 1 6 w i t h B O M
output from parser-cmd (stderr):
Unhandled exception:
FormatException: Invalid UTF-8 byte (at offset 0)
#0 _Utf8Decoder.convertChunked (dart:convert-patch/convert_patch.dart:1864)
#1 _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:304)
#2 _Utf8ConversionSink.add (dart:convert/string_conversion.dart:300)
#3 _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:69)
#4 _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:111)
#5 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#6 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#7 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#8 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#9 _StreamController._add (dart:async/stream_controller.dart:658)
#10 _StreamController.add (dart:async/stream_controller.dart:606)
#11 _Socket._onData (dart:io-patch/socket_patch.dart:2449)
#12 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594)
#13 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:365)
#14 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:297)
#15 _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:784)
#16 _StreamController._add (dart:async/stream_controller.dart:658)
#17 _StreamController.add (dart:async/stream_controller.dart:606)
#18 new _RawSocket. (dart:io-patch/socket_patch.dart:1936)
#19 _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1379)
#20 _microtaskLoop (dart:async/schedule_microtask.dart:40)
#21 _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#22 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118)
#23 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:185)
want:
Exit code 1
FAIL invalid/local-date/feb-29
exit status 255
input sent to parser-cmd:
"not a leap year" = 2100-02-29
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2100-02: 29
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-date/feb-30
exit status 255
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 1988-02: 30
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-date/mday-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 32
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-date/mday-under
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 0
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-date/month-over
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 13
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-date/month-under
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 00
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/feb-29
exit status 255
input sent to parser-cmd:
"not a leap year" = 2100-02-29T15:15:15
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2100-02: 29
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/feb-30
exit status 255
input sent to parser-cmd:
"only 28 or 29 days in february" = 1988-02-30T15:15:15
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 1988-02: 30
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:75)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/hour-over
exit status 255
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 2006-01-01T24:00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid hour: 24
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:155)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/mday-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 32
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/mday-under
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid day of month 2006-01: 0
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:71)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/minute-over
exit status 255
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 2006-01-01T00:60:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid minute: 60
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:157)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/month-over
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2006-13-01T00:00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 13
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/month-under
exit status 255
input sent to parser-cmd:
# date-month = 2DIGIT ; 01-12
d = 2007-00-01T00:00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid month: 00
#0 new TomlFullDate (package:toml/src/ast/value/date_time.dart:66)
#1 TomlFullDate.parser. (package:toml/src/ast/value/date_time.dart:48)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:57)
#4 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#9 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#10 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#11 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#15 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#19 Parser.parse (package:petitparser/src/core/parser.dart:51)
#20 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#21 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-datetime/second-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid second: 61
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:163)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#4 SequenceParser3.parseOn (package:petitparser/src/parser/combinator/generated/sequence_3.dart:59)
#5 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#8 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#9 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#10 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#11 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#12 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#13 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#14 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#15 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#16 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#17 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#18 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#19 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#20 Parser.parse (package:petitparser/src/core/parser.dart:51)
#21 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#22 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-time/hour-over
exit status 255
input sent to parser-cmd:
# time-hour = 2DIGIT ; 00-23
d = 24:00:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid hour: 24
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:155)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#4 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:72)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#8 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#9 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#10 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#11 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#14 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#15 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#18 Parser.parse (package:petitparser/src/core/parser.dart:51)
#19 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#20 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-time/minute-over
exit status 255
input sent to parser-cmd:
# time-minute = 2DIGIT ; 00-59
d = 00:60:00
output from parser-cmd (stderr):
Unhandled exception:
Invalid argument(s): Invalid minute: 60
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:157)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#4 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:72)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#8 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#9 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#10 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#11 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#14 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#15 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#18 Parser.parse (package:petitparser/src/core/parser.dart:51)
#19 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#20 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
FAIL invalid/local-time/second-over
exit status 255
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 (stderr):
Unhandled exception:
Invalid argument(s): Invalid second: 61
#0 new TomlPartialTime (package:toml/src/ast/value/date_time.dart:163)
#1 TomlPartialTime.parser. (package:toml/src/ast/value/date_time.dart:112)
#2 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:42)
#3 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#4 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:72)
#5 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#6 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#7 LateParser.parseOn (package:toml/src/util/parser/late.dart:40)
#8 SequenceParser2.parseOn (package:petitparser/src/parser/combinator/generated/sequence_2.dart:52)
#9 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#10 TrimmingParser.parseOn (package:petitparser/src/parser/action/trimming.dart:44)
#11 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#12 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#13 ChoiceParser.parseOn (package:petitparser/src/parser/combinator/choice.dart:67)
#14 SeparatedRepeatingParser.parseOn (package:petitparser/src/parser/repeater/separated.dart:88)
#15 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#16 MapParser.parseOn (package:petitparser/src/parser/action/map.dart:40)
#17 SkipParser.parseOn (package:petitparser/src/parser/combinator/skip.dart:35)
#18 Parser.parse (package:petitparser/src/core/parser.dart:51)
#19 TomlDocument.parse (package:toml/src/ast/document.dart:34)
#20 main (file:///home/martin/code/Toml/toml-test-matrix/src/dart-toml.dart/bin/decoder.dart:67)
want:
Exit code 1
toml-test v2024-05-31 [./src/dart-toml.dart/build/bin/decoder]: using embedded tests
valid tests: 182 passed, 0 failed
invalid tests: 332 passed, 39 failed
==> ENCODER TESTS
toml-test v2024-05-31 [./src/dart-toml.dart/build/bin/encoder]: using embedded tests
encoder tests: 182 passed, 0 failed
took 4.2 1.22