Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test for qr obsoletion message

  • Loading branch information...
commit 9fb1b22e04e52643d832a566b04cf6d27be82944 1 parent 2f179c1
@moritz moritz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  S32-exceptions/misc.t
View
3  S32-exceptions/misc.t
@@ -45,7 +45,8 @@ throws_like 'sub f() { $^x }', X::Signature::Placeholder,
line => 1;
#?rakudo skip 'parsing of $& and other p5 variables'
-throws_like '$&', X::Obsolete, old => '$@ variable', new => '$/ or $()';
+throws_like '$&', X::Obsolete, old => '$@ variable', replacement => '$, rx/<<rx>>// or $()';
+throws_like 'qr/a/', X::Obsolete, old => rx/<<qr>>/, replacement => rx/<<rx>>/;
throws_like 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';
Please sign in to comment.
Something went wrong with that request. Please try again.