use v6-alpha; use Test; plan 3; if $?PUGS_BACKEND eq "BACKEND_JAVASCRIPT" { skip_rest "YAML support not available in PIL2JS"; exit; } ok(undef, "Bug workaround for release.", :todo); # Bug workaround: the order of the next two tests determines # whether the second one ('test') fails under smoke. is( eval('test', :lang), 'test', '"test" roundtrips' ); ok( !defined(eval(undef, :lang)), '"undef" roundtrips' );