1 # File automatically generated from BurntSushi/toml-test
7 binmode STDIN, ':encoding(UTF-8)';
8 binmode STDOUT, ':encoding(UTF-8)';
13 'first_name' => 'Bruce',
14 'last_name' => 'Springsteen'
17 'first_name' => 'Eric',
18 'last_name' => 'Clapton'
21 'last_name' => 'Seger',
28 my $actual = from_toml(q{[[people]]
30 last_name = "Springsteen"
41 is($actual, $expected1, 'table-array-many - from_toml') or do{
43 diag Dumper($expected1);
49 is(eval{ from_toml(to_toml($actual)) }, $actual, 'table-array-many - to_toml') or do{
54 diag to_toml($actual);
56 diag 'REPARSED OUTPUT:';
57 diag Dumper(from_toml(to_toml($actual)));