5 use lib qw
't perl/t ..';
14 # Load the testing modules
15 foreach my $MODULE ( @MODULES ) {
18 plan
( skip_all
=> "$MODULE not available for testing" );
28 plan
( tests
=> scalar keys %test );
31 for my $test ( sort keys %test ){
32 my $expected = $test{$test};
33 my $returned = `echo $test | perl version.pl yaml`;
34 my $got = YAML
::XS
::Load
($returned) || $returned;
36 is_deeply
($got,$expected,$test);