### ----------------------------------------------------
### -- Test::Script::Output
### -- Licenses: Artistic-2.0
### -- Authors: JJ Merelo
### -- File: t/01-basic.t
### ----------------------------------------------------
use v6;
use Test;
use Test::Script::Output;

for <runnable other changes role-cards package changes-nooutput> -> $f {
    my $io = "./$f.p6".IO.e ?? "./$f.p6".IO !! "t/$f.p6".IO;
    output-ok( $io, "$f output is OK" );
}

my $dir = "t/".IO.d ?? "t/dir".IO !! "dir/".IO;
dir-ok( $dir, "All scripts in the dir are OK" );
done-testing;


