[macruby-changes] [3799] MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 17 22:13:12 PDT 2010


Revision: 3799
          http://trac.macosforge.org/projects/ruby/changeset/3799
Author:   lsansonetti at apple.com
Date:     2010-03-17 22:13:12 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
\v inside regexps is not supported by ICU

Modified Paths:
--------------
    MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb

Modified: MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb
===================================================================
--- MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb	2010-03-18 05:12:46 UTC (rev 3798)
+++ MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb	2010-03-18 05:13:12 UTC (rev 3799)
@@ -4,7 +4,9 @@
 describe "Regexps with escape characters" do
   it "they're supported" do
     /\t/.match("\t").to_a.should == ["\t"] # horizontal tab
-    /\v/.match("\v").to_a.should == ["\v"] # vertical tab
+    not_compliant_on :macruby do
+      /\v/.match("\v").to_a.should == ["\v"] # vertical tab
+    end
     /\n/.match("\n").to_a.should == ["\n"] # newline
     /\r/.match("\r").to_a.should == ["\r"] # return
     /\f/.match("\f").to_a.should == ["\f"] # form feed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100317/f7b8eef4/attachment-0001.html>


More information about the macruby-changes mailing list