1 # File automatically generated from BurntSushi/toml-test
7 binmode STDIN, ':encoding(UTF-8)';
8 binmode STDOUT, ':encoding(UTF-8)';
13 'allow_prereleases' => 1,
14 'version' => '>=18.9b0'
19 my $actual = from_toml(q{black = { python=">3.6", version=">=18.9b0", allow_prereleases=true }
22 is($actual, $expected1, 'right-curly-brace-after-boolean - from_toml') or do{
24 diag Dumper($expected1);
30 is(eval{ from_toml(to_toml($actual)) }, $actual, 'right-curly-brace-after-boolean - to_toml') or do{
35 diag to_toml($actual);
37 diag 'REPARSED OUTPUT:';
38 diag Dumper(from_toml(to_toml($actual)));