Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Some more CompUnit tests
  • Loading branch information
lizmat committed Jul 11, 2014
1 parent 3c9bf20 commit 6dfefc4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions S22-package-format/local.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 38;
plan 39;

chdir 't/spec/S22-package-format';
my $cwd := $*CWD;
Expand Down Expand Up @@ -69,10 +69,11 @@ for False, True -> $no-precomp {
is $candidates.elems, 0, "did we get 0 candidates$what";
}

is $compunit.from, 'Perl6', "is the language 'Perl6'";
is $compunit.name, $module, "is the name '$module'";
is $compunit.extension, $ext, "is the extension '$ext'";
is $compunit.from, 'Perl6', "is the language 'Perl6'";
is $compunit.name, $module, "is the name '$module'";
is $compunit.extension, $ext, "is the extension '$ext'";
is $compunit.path, "$cwd/$srcsrc", "is the path '$srcsrc'";
is ?$compunit.loaded, False, "is the module loaded";

# always cleanup
END {
Expand Down

0 comments on commit 6dfefc4

Please sign in to comment.