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)';
15 'answer' => 'You are not drinking enough whisky.'
19 my $actual = from_toml(q{answer = "You are not drinking enough whisky."
22 is($actual, $expected1, 'string-simple - from_toml') or do{
24 diag Dumper($expected1);
30 is(eval{ from_toml(to_toml($actual)) }, $actual, 'string-simple - to_toml') or do{
35 diag to_toml($actual);
37 diag 'REPARSED OUTPUT:';
38 diag Dumper(from_toml(to_toml($actual)));