Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #121253 - use Bar and Baz which both use Foo
  • Loading branch information
FROGGS committed Jul 18, 2014
1 parent f3fe7c2 commit 6a63037
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion S10-packages/basic.t
Expand Up @@ -4,7 +4,7 @@ use v6;

use Test;

plan 59;
plan 60;

my regex fairly_conclusive_platform_error {:i ^\N* <<Null?>>}

Expand Down Expand Up @@ -251,5 +251,12 @@ eval_dies_ok q[
ok $p === Our74592, 'return value of "Our" package declaration';
}

# RT #121253
{
use lib 't/spec/packages';
use Bar;
use Baz;
is Foo.foo, 'foo', 'can use two packages that both use the same third package'
}

# vim: ft=perl6
3 changes: 3 additions & 0 deletions packages/Baz.pm
@@ -0,0 +1,3 @@
use v6;

use Foo;

0 comments on commit 6a63037

Please sign in to comment.