Skip to content

Instantly share code, notes, and snippets.

@rjbs
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjbs/de0b26a258553c75104c to your computer and use it in GitHub Desktop.
Save rjbs/de0b26a258553c75104c to your computer and use it in GitHub Desktop.
use Test;
plan(1);
# Based on a (very brief) discussion with TimToady and Pm at FOSDEM, tokens in
# p6 should not be breaking grapheme clusters up. The grapheme cluster "#"
# starts a comment but "#\N{COMBINING DIAERESIS}" should not. Similarly,
# q<"\N{COMBINING DIAERESIS}"> is not how you make a string containing only a
# combining mark. -- rjbs, 2015-02-02
eval_dies_ok(
"123 #̈ foo",
"should die: hash-diaeresis doesn't start comments"
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment