New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests for X::Does::TypeObject, X::Bind::ZenSlice and X::Role::Initialization #16

Merged
merged 3 commits into from Mar 29, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Diff settings

Always

Just for now

Next

test for X::Does::TypeObject raising for 'does' operator.

  • Loading branch information...
timo committed Mar 29, 2012
commit 296a529c710c580d064ae0282b64545a7a21a3a2
View
@@ -115,6 +115,8 @@ throws_like 'my $::("foo")', X::Syntax::Variable::IndirectDeclaration;
throws_like '@a', X::Undeclared, symbol => '@a';
throws_like 'augment class Any { }', X::Syntax::Augment::WithoutMonkeyTyping;
throws_like 'use MONKEY_TYPING; augment role Positional { }', X::Syntax::Augment::Role;
throws_like 'my $foo does &Int', X::Does::TypeObject;
throws_like 'my $foo does &Int, &Bool', X::Does::TypeObject;
throws_like 'sub f($a?, $b) { }', X::Parameter::WrongOrder,
misplaced => 'required',
ProTip! Use n and p to navigate between commits in a pull request.