Permalink
Browse files

test X::Obsolete error for s///i

  • Loading branch information...
1 parent f0fb59d commit e225c9d8269e2d589e7d2835d74820f554136b80 @moritz moritz committed Dec 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
@@ -20,6 +20,7 @@ throws_like 'sub f() { $^x }', X::Signature::Placeholder,
throws_like '$&', X::Obsolete, old => '$@ variable', replacement => '$, rx/<<rx>>// or $()';
throws_like 'qr/a/', X::Obsolete, old => rx/<<qr>>/, replacement => rx/<<rx>>/;
throws_like '"a" . "b"', X::Obsolete, replacement => '~';
+throws_like 's/a/b/i', X::Obsolete;
throws_like 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';

0 comments on commit e225c9d

Please sign in to comment.