[macruby-changes] [1161] MacRuby/branches/experimental/test_roxor.rb

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 25 22:19:24 PDT 2009


Revision: 1161
          http://trac.macosforge.org/projects/ruby/changeset/1161
Author:   lsansonetti at apple.com
Date:     2009-03-25 22:19:24 -0700 (Wed, 25 Mar 2009)
Log Message:
-----------
added a const lookup test (currently fails)

Modified Paths:
--------------
    MacRuby/branches/experimental/test_roxor.rb

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-26 05:09:41 UTC (rev 1160)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-26 05:19:24 UTC (rev 1161)
@@ -450,6 +450,15 @@
     p o.baz.bar
   }
 
+  assert '42', %q{
+    module M
+      FOO = 42
+      class X
+        class << self; p FOO; end
+      end
+    end
+  }
+    
 end
 
 test "ranges" do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090325/ce4260ae/attachment.html>


More information about the macruby-changes mailing list