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)';
17 'operator' => 'CODE(...)',
18 'name' => '<Custom Code>',
19 '_file' => '(eval 394)',
21 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x54"}
26 'Math::BigInt'->new('43')->beq($_);
31 }, 'Test2::Compare::Custom' ),
38 '_file' => '(eval 395)',
40 BEGIN {${^WARNING_BITS} = "\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x55\x15\x00\x04\x40\x05\x04\x54"}
45 'Math::BigInt'->new('42')->beq($_);
47 'operator' => 'CODE(...)',
48 'name' => '<Custom Code>'
49 }, 'Test2::Compare::Custom' )
56 my $actual = from_toml(q{[a.b.c]
63 is($actual, $expected1, 'implicit-and-explicit-after - from_toml') or do{
65 diag Dumper($expected1);
71 is(eval{ from_toml(to_toml($actual)) }, $actual, 'implicit-and-explicit-after - to_toml') or do{
76 diag to_toml($actual);
78 diag 'REPARSED OUTPUT:';
79 diag Dumper(from_toml(to_toml($actual)));