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)';
20 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x54"}
25 'Math::BigInt'->new('42')->beq($_);
27 '_file' => '(eval 397)',
28 'operator' => 'CODE(...)',
29 'name' => '<Custom Code>',
33 }, 'Test2::Compare::Custom' )
40 'operator' => 'CODE(...)',
41 'name' => '<Custom Code>',
42 '_file' => '(eval 396)',
44 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x54"}
49 'Math::BigInt'->new('43')->beq($_);
51 }, 'Test2::Compare::Custom' )
56 my $actual = from_toml(q{[a]
63 is($actual, $expected1, 'implicit-and-explicit-before - from_toml') or do{
65 diag Dumper($expected1);
71 is(eval{ from_toml(to_toml($actual)) }, $actual, 'implicit-and-explicit-before - to_toml') or do{
76 diag to_toml($actual);
78 diag 'REPARSED OUTPUT:';
79 diag Dumper(from_toml(to_toml($actual)));