Skip to content

Commit

Permalink
Merge pull request #1023 from Altai-man/#130712-test
Browse files Browse the repository at this point in the history
Test to cover RT #130712
  • Loading branch information
zoffixznet committed Feb 23, 2017
2 parents 1811b80 + 664f767 commit a481648
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/05-messages/01-errors.t
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,10 @@ subtest 'curly quotes are not called smart quotes' => {
}
}

# RT #130712 https://rt.perl.org/Public/Bug/Display.html?id=130712
throws-like 'sub infix:<$>() return Nil {}',
X::AdHoc,
:message{ .contains("'returns'") },
'typing "return" instead of "returns" gives a fixing hint';

done-testing;

0 comments on commit a481648

Please sign in to comment.