Revision
3799
Author
lsansonetti@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

Diff

Modified: MacRuby/trunk/spec/frozen/language/regexp/escapes_spec.rb (3798 => 3799)


--- 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