5 use lib qw
't perl/t ..';
15 plan
( tests
=> scalar keys %test );
18 for my $test ( sort keys %test ){
19 my $expected = $test{$test};
20 my $returned = `echo $test | perl version.pl yaml`;
21 my $got = YAML
::XS
::Load
($returned) || $returned;
23 is_deeply
($got,$expected,$test);