Permalink
Browse files

test X::Obsolete

  • Loading branch information...
1 parent 2085636 commit ba74f5ecf24e66bea87f5eca4481f1a05294d5a7 @moritz moritz committed Dec 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 S32-exceptions/misc.t
View
@@ -19,6 +19,7 @@ throws_like 'sub f() { $^x }', X::Signature::Placeholder,
#?rakudo skip 'parsing of $& and other p5 variables'
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 'do { $^x }', X::Placeholder::Block, placeholder => '$^x';
throws_like 'do { @_ }', X::Placeholder::Block, placeholder => '@_';

0 comments on commit ba74f5e

Please sign in to comment.