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)';
18 'name' => 'Glory Days'
25 my $actual = from_toml(q{[[albums.songs]]
29 is($actual, $expected1, 'table-array-implicit - from_toml') or do{
31 diag Dumper($expected1);
37 is(eval{ from_toml(to_toml($actual)) }, $actual, 'table-array-implicit - to_toml') or do{
42 diag to_toml($actual);
44 diag 'REPARSED OUTPUT:';
45 diag Dumper(from_toml(to_toml($actual)));