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
19 is($actual, $expected1, 'comments-at-eof - from_toml') or do{
21 diag Dumper($expected1);
27 is(eval{ from_toml(to_toml($actual)) }, $actual, 'comments-at-eof - to_toml') or do{
32 diag to_toml($actual);
34 diag 'REPARSED OUTPUT:';
35 diag Dumper(from_toml(to_toml($actual)));