Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
$*DISTRO.name now can have a many more values than before
so do not test if it is in a pre-defined list anymore
  • Loading branch information
moritz committed Dec 7, 2014
1 parent 355e77b commit d6372ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions S02-magicals/DISTRO.t
Expand Up @@ -56,9 +56,7 @@ ok $*DISTRO.perl ~~ m/\w/, 'We can do a $*DISTRO.perl';
ok $*DISTRO.gist ~~ m/\w/, 'We can do a $*DISTRO.gist';
ok $*DISTRO.Str ~~ m/\w/, 'We can do a $*DISTRO.Str';

diag "'{$*DISTRO.name}' is an unknown DISTRO, please report" if !
ok $*DISTRO.name eq any($*PERL.DISTROnames),
"We know of the DISTRO we are running under";
ok $*DISTRO.name, 'Non-empty $*DISTRO.name';

isa_ok $*DISTRO.version, Version;
#?rakudo.jvm todo 'no Distro.signature yet'
Expand Down

0 comments on commit d6372ca

Please sign in to comment.