Skip to content

Commit

Permalink
added failing test
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@3185 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Jan 4, 2010
1 parent 97d82e9 commit a2058e4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test_vm/module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,20 @@ def self.baz
Foo.baz
}

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

0 comments on commit a2058e4

Please sign in to comment.