Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test for "\u" X::Backslash::UnrecognizedSequence
Error message: Unrecognized backslash sequence: '\u'
  • Loading branch information
FROGGS committed Nov 28, 2012
1 parent 8d88d57 commit 98bd346
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions S32-exceptions/misc.t
Expand Up @@ -141,6 +141,8 @@ throws_like 'for 1, 2', X::Syntax::Missing, what => 'block';
throws_like 'my @a()', X::Syntax::Reserved, reserved => /shape/ & /array/;
throws_like 'my &a()', X::Syntax::Reserved, instead => /':()'/;

# RT #115922
throws_like '"\u"', X::Backslash::UnrecognizedSequence, sequence => 'u';
throws_like '"$"', X::Backslash::NonVariableDollar;

throws_like 'm:i(@*ARGS[0])/foo/', X::Value::Dynamic;
Expand Down

0 comments on commit 98bd346

Please sign in to comment.