Tests require recent version of File::Spec::Functions
[mafia.git] / t / examples.t
index 56423e76896351ee1b937a3734f82439682f6bfb..39af49a5e3f2b41a7fb3a7786eb0be0447e0bc0f 100644 (file)
@@ -17,7 +17,7 @@ for my $example (@examples) {
        open STDOUT, '>', \$out;
        clean;
 
-       do rel2abs $example;
+       do(rel2abs($example));
        $example =~ s/\.pl$//;
        my $ok = join '', IO::File->new("$example.out", '<')->getlines;
        is $out, $ok, substr $example, length 't/examples/'
This page took 0.010183 seconds and 4 git commands to generate.