[macruby-changes] [2437] MacRuby/trunk/test_vm/class.rb
source_changes at macosforge.org
source_changes at macosforge.org
Sun Aug 30 13:57:08 PDT 2009
Revision: 2437
http://trac.macosforge.org/projects/ruby/changeset/2437
Author: eloy.de.enige at gmail.com
Date: 2009-08-30 13:57:08 -0700 (Sun, 30 Aug 2009)
Log Message:
-----------
Added failing test_vm test about removing a method from a meta-singleton-virtual class.
Modified Paths:
--------------
MacRuby/trunk/test_vm/class.rb
Modified: MacRuby/trunk/test_vm/class.rb
===================================================================
--- MacRuby/trunk/test_vm/class.rb 2009-08-30 20:52:38 UTC (rev 2436)
+++ MacRuby/trunk/test_vm/class.rb 2009-08-30 20:57:08 UTC (rev 2437)
@@ -80,4 +80,14 @@
p public_method_defined?(:foo)
end
end
+}
+
+assert "false", %q{
+ class X
+ class << self
+ def foo; end
+ remove_method(:foo)
+ end
+ p respond_to?(:foo)
+ end
}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090830/908e1ae0/attachment.html>
More information about the macruby-changes
mailing list