Added an extra failing test_vm test to illustrate Modules don't allow instantiation. #378 Keith Gautreaux.
--- 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
+}