Skip to content

Commit

Permalink
Keep a test looking for exact wording happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 1, 2017
1 parent 7433947 commit 1f854b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2030,7 +2030,7 @@ my class X::TypeCheck::Binding::Parameter is X::TypeCheck::Binding {
my $expected = (try nqp::eqaddr($.expected,$.got))
?? "expected type $.expectedn cannot be itself"
!! "expected $.expectedn but got $.gotn";
my $what-check = $.constraint ?? 'Constraint' !! 'Type';
my $what-check = $.constraint ?? 'Constraint type' !! 'Type';
self.priors() ~ "$what-check check failed in $.operation$to; $expected";
}
}
Expand Down

0 comments on commit 1f854b1

Please sign in to comment.