diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-07-02 22:05:31 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-07-03 21:09:51 -0600 |
commit | 845e7aa3fc0ceb8b5085504e0c19524badc4f8c1 (patch) | |
tree | 1daa2c39ff3b2b289a6d634ba0349f4f84c08d1d /t | |
parent | 883bb8c0e0c5dc811dd918db6161867eb5f13a53 (diff) | |
download | perl-845e7aa3fc0ceb8b5085504e0c19524badc4f8c1.tar.gz |
t/lib/warnings/utf8: Fix improper TODO test
This had the wrong syntax, but it wasn't caught because it is TODO
anyway.
Diffstat (limited to 't')
-rw-r--r-- | t/lib/warnings/utf8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/lib/warnings/utf8 b/t/lib/warnings/utf8 index 1274cf9f2f..02507b3118 100644 --- a/t/lib/warnings/utf8 +++ b/t/lib/warnings/utf8 @@ -652,9 +652,9 @@ Code point 0x110000 is not Unicode, all \p{} matches fail; all \P{} matches succ ######## # TODO optimized regnode should still give warnings use warnings 'utf8'; -chr(0x110000) =~ /lb=cr/; +chr(0x110000) =~ /\p{lb=cr}/; no warnings 'non_unicode'; -chr(0x110000) =~ /lb=cr/; +chr(0x110000) =~ /\p{lb=cr}/; EXPECT Code point 0x110000 is not Unicode, all \p{} matches fail; all \P{} matches succeed at - line 2. ######## |