1 # File automatically generated from BurntSushi/toml-test
7 binmode STDIN, ':encoding(UTF-8)';
8 binmode STDOUT, ':encoding(UTF-8)';
11 'multiline' => 'This string
12 has \' a quote character
16 'firstnl' => 'This string has a \' quote character.',
17 'oneline' => 'This string has a \' quote character.'
21 my $actual = from_toml(q{oneline = '''This string has a ' quote character.'''
23 This string has a ' quote character.'''
26 has ' a quote character
32 is($actual, $expected1, 'raw-multiline-string - from_toml') or do{
34 diag Dumper($expected1);
40 is(eval{ from_toml(to_toml($actual)) }, $actual, 'raw-multiline-string - to_toml') or do{
45 diag to_toml($actual);
47 diag 'REPARSED OUTPUT:';
48 diag Dumper(from_toml(to_toml($actual)));