Revision: 2851 http://trac.macosforge.org/projects/ruby/changeset/2851 Author: eloy.de.enige@gmail.com Date: 2009-10-19 12:35:08 -0700 (Mon, 19 Oct 2009) Log Message: ----------- Added an extra failing test_vm test to illustrate Modules don't allow instantiation. #378 Keith Gautreaux. Modified Paths: -------------- MacRuby/trunk/test_vm/module.rb Modified: MacRuby/trunk/test_vm/module.rb =================================================================== --- MacRuby/trunk/test_vm/module.rb 2009-10-19 03:28:40 UTC (rev 2850) +++ MacRuby/trunk/test_vm/module.rb 2009-10-19 19:35:08 UTC (rev 2851) @@ -45,3 +45,13 @@ p :ok end } + +assert ':ok', %{ + M = Module.new + begin + M.new + p :ko + rescue NoMethodError + p :ok + end +}