Browse files

test X::Package::Stubbed

  • Loading branch information...
1 parent 46f9b17 commit ddc21bfd2d43ca43e834e426ae501f29d975d520 @moritz moritz committed Mar 8, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-exceptions/misc.t
View
2 S32-exceptions/misc.t
@@ -172,4 +172,6 @@ throws_like 'sub foo;', X::Syntax::Missing, what => 'block';
throws_like 'constant foo;', X::Syntax::Missing, what => /initializer/;
throws_like 'constant * = 3;', X::Syntax::Missing, what => /constant/;
+throws_like 'class A {...}; grammar B { ... }', X::Package::Stubbed, packages => <A B>;
+
done;

0 comments on commit ddc21bf

Please sign in to comment.