[macruby-changes] [2748] MacRuby/trunk/spec/macruby/core/exception_spec.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 7 13:46:24 PDT 2009
Revision: 2748
http://trac.macosforge.org/projects/ruby/changeset/2748
Author: lsansonetti at apple.com
Date: 2009-10-07 13:46:23 -0700 (Wed, 07 Oct 2009)
Log Message:
-----------
uncomment specs that now pass
Modified Paths:
--------------
MacRuby/trunk/spec/macruby/core/exception_spec.rb
Modified: MacRuby/trunk/spec/macruby/core/exception_spec.rb
===================================================================
--- MacRuby/trunk/spec/macruby/core/exception_spec.rb 2009-10-07 20:46:01 UTC (rev 2747)
+++ MacRuby/trunk/spec/macruby/core/exception_spec.rb 2009-10-07 20:46:23 UTC (rev 2748)
@@ -2,16 +2,12 @@
FixtureCompiler.require! "exception"
TestException # force dynamic load
-=begin # TODO
describe "An Objective-C exception" do
it "can be catched from Ruby" do
lambda { TestException.raiseObjCException }.should raise_error
end
end
-=end
-# TODO: this is not implemented for i386
-if RUBY_ARCH == 'x86_64'
describe "A Ruby exception" do
it "can be catched from Objective-C" do
o = Object.new
@@ -21,4 +17,3 @@
TestException.catchRubyException(o).should == 1
end
end
-end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091007/d61e62c6/attachment-0001.html>
More information about the macruby-changes
mailing list