1 # File automatically generated from BurntSushi/toml-test
7 binmode STDIN, ':encoding(UTF-8)';
8 binmode STDOUT, ':encoding(UTF-8)';
15 my $actual = from_toml(q{# This is a full-line comment
16 key = "value" # This is a comment at the end of a line});
18 is($actual, $expected1, 'comments-at-eof2 - from_toml') or do{
20 diag Dumper($expected1);
26 is(eval{ from_toml(to_toml($actual)) }, $actual, 'comments-at-eof2 - to_toml') or do{
31 diag to_toml($actual);
33 diag 'REPARSED OUTPUT:';
34 diag Dumper(from_toml(to_toml($actual)));