From 5b3114678323b284f88ba8d2da3cad315a53ed6e Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 20 Dec 2009 14:25:13 -0700 Subject: change non-char warning message from malformed --- t/lib/warnings/utf8 | 3 +++ 1 file changed, 3 insertions(+) (limited to 't') diff --git a/t/lib/warnings/utf8 b/t/lib/warnings/utf8 index be49ae9fe5..fe1cbf0133 100644 --- a/t/lib/warnings/utf8 +++ b/t/lib/warnings/utf8 @@ -114,6 +114,7 @@ my $hex4 = "\x{10000}"; my $hex5 = "\x{100000}"; my $maxm1 = "\x{10FFFE}"; my $max = "\x{10FFFF}"; +uc($ffff); no warnings 'utf8'; my $d7ff = "\x{D7FF}"; my $d800 = "\x{D800}"; @@ -127,6 +128,7 @@ my $hex4 = "\x{10000}"; my $hex5 = "\x{100000}"; my $maxm1 = "\x{10FFFE}"; my $max = "\x{10FFFF}"; +uc($ffff); EXPECT UTF-16 surrogate 0xd800 at - line 3. UTF-16 surrogate 0xdfff at - line 4. @@ -134,3 +136,4 @@ Unicode non-character 0xfffe is illegal for interchange at - line 8. Unicode non-character 0xffff is illegal for interchange at - line 9. Unicode non-character 0x10fffe is illegal for interchange at - line 12. Unicode non-character 0x10ffff is illegal for interchange at - line 13. +Unicode non-character 0xffff is illegal for interchange in uc at - line 14. -- cgit v1.2.1