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)';
19 my $actual = from_toml(q{test = "\\"one\\""
22 is($actual, $expected1, 'double-quote-escape - from_toml') or do{
24 diag Dumper($expected1);
30 is(eval{ from_toml(to_toml($actual)) }, $actual, 'double-quote-escape - to_toml') or do{
35 diag to_toml($actual);
37 diag 'REPARSED OUTPUT:';
38 diag Dumper(from_toml(to_toml($actual)));