[macruby-changes] [3185] MacRuby/trunk/test_vm/module.rb

source_changes at macosforge.org source_changes at macosforge.org
Mon Jan 4 14:18:01 PST 2010


Revision: 3185
          http://trac.macosforge.org/projects/ruby/changeset/3185
Author:   lsansonetti at apple.com
Date:     2010-01-04 14:17:59 -0800 (Mon, 04 Jan 2010)
Log Message:
-----------
added failing test

Modified Paths:
--------------
    MacRuby/trunk/test_vm/module.rb

Modified: MacRuby/trunk/test_vm/module.rb
===================================================================
--- MacRuby/trunk/test_vm/module.rb	2010-01-04 22:05:56 UTC (rev 3184)
+++ MacRuby/trunk/test_vm/module.rb	2010-01-04 22:17:59 UTC (rev 3185)
@@ -89,6 +89,20 @@
 }
 
 assert ':ok', %{
+  module Y
+    def foo
+      p :ok
+    end
+  end
+  module X
+    include Y
+  end
+  o = Object.new
+  o.extend X
+  o.foo
+}
+
+assert ':ok', %{
   module M
     def initialize; p :ok; end
   end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100104/0d68de9f/attachment.html>


More information about the macruby-changes mailing list