New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snowman, comet, regex parser, oh my! #1049
Comments
From @masak<masak> rakudo: say "abc" ~~ m ☃.(.).☄ |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/quoting-unicode.t commit 8cac88ed49a48592f4bdadfde9b49d19c4a6314d [t/spec] Test for RT 66498: quoting regex with snowman and comet Inline Patchdiff --git a/t/spec/S02-literals/quoting-unicode.t b/t/spec/S02-literals/quoting-unicode.t
index 4d6ba4a..d7ba843 100644
--- a/t/spec/S02-literals/quoting-unicode.t
+++ b/t/spec/S02-literals/quoting-unicode.t
@@ -1,7 +1,6 @@
use v6;
use Test;
-
-plan 70;
+plan *;
#L<S02/Literals>
# TODO:
@@ -74,4 +73,15 @@ RIGHT SQUARE BRACKET WITH TICK IN BOTTOM CORNER(U+298D/U+298E)';
is $var, 'b', 'q-style string with LEFT/RIGHT ANGLE BRACKET';
}
+# RT #66498
+{
+ eval_dies_ok "q\c[SNOWMAN].\c[COMET]",
+ "Can't quote a string with a snowman and comet (U+2603 and U+2604)";
+ #?rakudo todo 'RT 66498'
+ eval_dies_ok "'RT 66498' ~~ m\c[SNOWMAN].\c[COMET]",
+ "Can't quote a regex with a snowman and comet (U+2603 and U+2604)";
+}
+
+done_testing;
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @masak<masak> rakudo: say "abc" ~~ m ☃.(.).☄ |
@masak - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#66498 (status was 'resolved')
Searchable as RT66498$
The text was updated successfully, but these errors were encountered: