Revision
3185
Author
lsansonetti@apple.com
Date
2010-01-04 14:17:59 -0800 (Mon, 04 Jan 2010)

Log Message

added failing test

Modified Paths

Diff

Modified: MacRuby/trunk/test_vm/module.rb (3184 => 3185)


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