Skip to content

Commit

Permalink
[test] Fix [GH #1029] MVS is no ws in unicode 6.3 anymore
Browse files Browse the repository at this point in the history
icu 5.2 was updated to unicode 6.3 and U+180e Mongolian Vowel Separator (MVS)
is no whitespace anymore.
cross tested on old unicode: https://travis-ci.org/parrot/parrot/builds/16562159
  • Loading branch information
Reini Urban committed Jan 8, 2014
1 parent 0f412b4 commit c9deccb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion t/compilers/pge/perl6regex/01-regex.t
@@ -1,5 +1,5 @@
#!./parrot
# Copyright (C) 2001-2010, Parrot Foundation.
# Copyright (C) 2001-2014, Parrot Foundation.

=head1 NAME

Expand Down
2 changes: 1 addition & 1 deletion t/compilers/pge/perl6regex/rx_metachars
Expand Up @@ -134,7 +134,7 @@ a|&b a|&b /rule error/ alternation and conjunction (|&) - parse error
^ \h+ $ \x000a\x000b\x000c\x000d\x0085 n 0-255 horizontal whitespace (\h)
^ \v+ $ \x0009\x0020\x00a0 n 0-255 vertical whitespace (\v)
# todo :pugs<feature>
^ \s+ $ \x1680\x180e\x2000\x2001\x2002\x2003\x2004\x2005\x2006\x2007\x2008\x2008\x2009\x200a\x202f\x205f\x3000 y unicode whitespace (\s)
^ \s+ $ \x1680\x2000\x2001\x2002\x2003\x2004\x2005\x2006\x2007\x2008\x2008\x2009\x200a\x202f\x205f\x3000 y unicode whitespace (\s)
# todo :pugs<feature>
^ \h+ $ \x1680\x180e\x2000\x2001\x2002\x2003\x2004\x2005\x2006\x2007\x2008\x2008\x2009\x200a\x202f\x205f\x3000 y unicode whitespace (\h)
^ \V+ $ \x1680\x180e\x2000\x2001\x2002\x2003\x2004\x2005\x2006\x2007\x2008\x2008\x2009\x200a\x202f\x205f\x3000 y unicode whitespace (\V)
Expand Down
8 changes: 4 additions & 4 deletions t/op/string_cclass.t
@@ -1,5 +1,5 @@
#!perl
# Copyright (C) 2001-2005, Parrot Foundation.
# Copyright (C) 2001-2014, Parrot Foundation.

use strict;
use warnings;
Expand Down Expand Up @@ -283,7 +283,7 @@ my $ws = {
horizontal_ascii => [qw/ \u0009 \u0020 \u00a0 /],
horizontal_unicode => [
qw/
\u1680 \u180e \u2000 \u2001 \u2002 \u2003 \u2004 \u2005
\u1680 \u2000 \u2001 \u2002 \u2003 \u2004 \u2005
\u2006 \u2007 \u2008 \u2009 \u200a \u202f \u205f \u3000
/
],
Expand Down Expand Up @@ -340,7 +340,7 @@ ok:
print "\\n"
.end
CODE
11111111111111111111111111
1111111111111111111111111
OUT

pir_output_is( <<"CODE", <<'OUT', "unicode find_ccclass whitespace" );
Expand Down Expand Up @@ -374,7 +374,7 @@ OUT
print "\\n"
.end
CODE
29 26
28 25
OUT
}

Expand Down

0 comments on commit c9deccb

Please sign in to comment.