Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #118501 add tests for EXPORT::ALL
  • Loading branch information
FROGGS committed Nov 21, 2014
1 parent 0db5a86 commit b33ad00
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion S11-modules/export.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 36;
plan 38;

# L<S11/"Exportation"/>

Expand Down Expand Up @@ -154,4 +154,10 @@ ok( ! &EXPORT::DEFAULT::exp_my_tag,
is(Bar::bar($a, "moonlight"), "moonlight", 'Bar::bar($a, ) gets default value');
}

# RT #118501
{
ok EXPORT::ALL ~~ EXPORT::<ALL>, 'EXPORT::ALL is identical to EXPORT::<ALL>';
ok EXPORT::ALL:: ~~ Stash, 'EXPORT::ALL:: is a Stash that keeps exported symbols';
}

# vim: ft=perl6

0 comments on commit b33ad00

Please sign in to comment.