[macruby-changes] [1326] MacRuby/branches/experimental/spec/frozen/language/regexp_spec.rb

source_changes at macosforge.org source_changes at macosforge.org
Sat Apr 4 06:14:18 PDT 2009


Revision: 1326
          http://trac.macosforge.org/projects/ruby/changeset/1326
Author:   eloy.de.enige at gmail.com
Date:     2009-04-04 06:14:18 -0700 (Sat, 04 Apr 2009)
Log Message:
-----------
Fixed not_compliant_on :macruby issue with Regexps (hadn't seen the comment yet).

As you can see the mspec team had already added :macruby to the list of implementations for guards.
Also, it seems we only fail 2 of the 5 examples that are marked as not being compliant on, namely the /e and /u ones. Any thoughts?

Modified Paths:
--------------
    MacRuby/branches/experimental/spec/frozen/language/regexp_spec.rb

Modified: MacRuby/branches/experimental/spec/frozen/language/regexp_spec.rb
===================================================================
--- MacRuby/branches/experimental/spec/frozen/language/regexp_spec.rb	2009-04-04 13:06:55 UTC (rev 1325)
+++ MacRuby/branches/experimental/spec/frozen/language/regexp_spec.rb	2009-04-04 13:14:18 UTC (rev 1326)
@@ -680,10 +680,7 @@
   # Encodings
   #############################################################################
 
-  # These specs won't run on MacRuby too, and this #not_compliant_on method doesn't
-  # seem to work. Eloy?
-  #not_compliant_on :ruby19 do
-  ruby_version_is "" ... "1.9" do
+  not_compliant_on :ruby19, :macruby do
     it 'supports /e (EUC encoding)' do
       /./e.match("\303\251").to_a.should == ["\303\251"]
     end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090404/4159688e/attachment.html>


More information about the macruby-changes mailing list