Revision
3765
Author
lsansonetti@apple.com
Date
2010-03-15 15:01:12 -0700 (Mon, 15 Mar 2010)

Log Message

mark 2 specs as not compliant on macruby because of ICU limitations

Modified Paths

Diff

Modified: MacRuby/trunk/spec/frozen/language/regexp/back-references_spec.rb (3764 => 3765)


--- MacRuby/trunk/spec/frozen/language/regexp/back-references_spec.rb	2010-03-15 22:00:44 UTC (rev 3764)
+++ MacRuby/trunk/spec/frozen/language/regexp/back-references_spec.rb	2010-03-15 22:01:12 UTC (rev 3765)
@@ -42,7 +42,7 @@
     /(foo.)\1/.match("foo1foo2").should be_nil
   end
   
-  not_compliant_on :ironruby do
+  not_compliant_on :ironruby, :macruby do
     it 'resets nested \<n> backreference before match of outer subexpression' do
       /(a\1?){2}/.match("aaaa").to_a.should == ["aa", "a"]
     end

Modified: MacRuby/trunk/spec/frozen/language/regexp/repetition_spec.rb (3764 => 3765)


--- MacRuby/trunk/spec/frozen/language/regexp/repetition_spec.rb	2010-03-15 22:00:44 UTC (rev 3764)
+++ MacRuby/trunk/spec/frozen/language/regexp/repetition_spec.rb	2010-03-15 22:01:12 UTC (rev 3765)
@@ -35,9 +35,11 @@
     /.([0-9]){3,5}?foo/.match("9876543210foo").to_a.should == ["543210foo", "0"]
     end
   end
-  
-  it 'does not treat {m,n}+ as possessive' do
-    /foo(A{0,1}+)Abar/.match("fooAAAbar").to_a.should == ["fooAAAbar", "AA"]
+ 
+  not_compliant_on :macruby do 
+    it 'does not treat {m,n}+ as possessive' do
+      /foo(A{0,1}+)Abar/.match("fooAAAbar").to_a.should == ["fooAAAbar", "AA"]
+    end
   end
   
   it 'supports ? (0 or 1 of previous subexpression)' do