Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #126904.
  • Loading branch information
jdv committed Dec 13, 2015
1 parent da7ff73 commit 0899174
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions S11-compunit/rt126904.t
@@ -0,0 +1,13 @@
use v6;
use Test;

plan 1;

my $proc = run 'perl6', '-I', 't/spec/packages/RT126904/lib', '-e',
'use Woohoo::Foo::Bar; use Woohoo::Foo::Baz; my Woohoo::Foo::Bar $bar;',
:err;

todo('because RT #126904', 1);
is($proc.err.slurp-rest, '', "compilation errors");

# vim: ft=perl6
3 changes: 3 additions & 0 deletions packages/RT126904/lib/Woohoo/Foo/Bar.pm
@@ -0,0 +1,3 @@
use Woohoo::Qux;
class Woohoo::Foo::Bar {
}
3 changes: 3 additions & 0 deletions packages/RT126904/lib/Woohoo/Foo/Baz.pm
@@ -0,0 +1,3 @@
use Woohoo::Qux;
class Woohoo::Foo::Baz {
}
2 changes: 2 additions & 0 deletions packages/RT126904/lib/Woohoo/Qux.pm
@@ -0,0 +1,2 @@
class Woohoo::Qux {
}

0 comments on commit 0899174

Please sign in to comment.