Skip to content

Commit b33ad00

Browse files
committed
RT #118501 add tests for EXPORT::ALL
1 parent 0db5a86 commit b33ad00

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

S11-modules/export.t

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 36;
4+
plan 38;
55

66
# L<S11/"Exportation"/>
77

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

157+
# RT #118501
158+
{
159+
ok EXPORT::ALL ~~ EXPORT::<ALL>, 'EXPORT::ALL is identical to EXPORT::<ALL>';
160+
ok EXPORT::ALL:: ~~ Stash, 'EXPORT::ALL:: is a Stash that keeps exported symbols';
161+
}
162+
157163
# vim: ft=perl6

0 commit comments

Comments
 (0)