Permalink
Browse files

test for "\u" X::Backslash::UnrecognizedSequence

Error message: Unrecognized backslash sequence: '\u'
  • Loading branch information...
1 parent 8d88d57 commit 98bd3469d0fb5a76a3dc3496f961aef789282182 @FROGGS FROGGS committed Nov 28, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 S32-exceptions/misc.t
@@ -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;

0 comments on commit 98bd346

Please sign in to comment.