[macruby-changes] [2606] MacRuby/trunk/test_vm/dispatch.rb
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 22 02:48:04 PDT 2009
Revision: 2606
http://trac.macosforge.org/projects/ruby/changeset/2606
Author: vincent.isambart at gmail.com
Date: 2009-09-22 02:48:01 -0700 (Tue, 22 Sep 2009)
Log Message:
-----------
added a failing test
Modified Paths:
--------------
MacRuby/trunk/test_vm/dispatch.rb
Modified: MacRuby/trunk/test_vm/dispatch.rb
===================================================================
--- MacRuby/trunk/test_vm/dispatch.rb 2009-09-22 08:10:24 UTC (rev 2605)
+++ MacRuby/trunk/test_vm/dispatch.rb 2009-09-22 09:48:01 UTC (rev 2606)
@@ -416,3 +416,18 @@
end
class Range; foo; end
}
+
+assert ':ok', %{
+ class B; end
+ class A < B
+ def initialize
+ super(nil)
+ end
+ end
+
+ begin
+ A.new
+ rescue ArgumentError
+ p :ok
+ end
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090922/fc30b7ff/attachment.html>
More information about the macruby-changes
mailing list