1 # File automatically generated from BurntSushi/toml-test
6 use DateTime::Format::RFC3339;
11 binmode STDIN, ':encoding(UTF-8)';
12 binmode STDOUT, ':encoding(UTF-8)';
17 'last_name' => 'Springsteen',
18 'first_name' => 'Bruce'
24 my $actual = from_toml(q{[[people]]
26 last_name = "Springsteen"
29 is($actual, $expected1, 'table-array-one - from_toml') or do{
31 diag Dumper($expected1);
37 is(eval{ from_toml(to_toml($actual)) }, $actual, 'table-array-one - to_toml') or do{
42 diag to_toml($actual);
44 diag 'REPARSED OUTPUT:';
45 diag Dumper(from_toml(to_toml($actual)));