[macruby-changes] [2958] MacRuby/trunk/spec/frozen/core/thread/shared/exit.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 4 18:08:26 PST 2009
Revision: 2958
http://trac.macosforge.org/projects/ruby/changeset/2958
Author: lsansonetti at apple.com
Date: 2009-11-04 18:08:24 -0800 (Wed, 04 Nov 2009)
Log Message:
-----------
this spec doesn't pass with 1.9 either
Modified Paths:
--------------
MacRuby/trunk/spec/frozen/core/thread/shared/exit.rb
Modified: MacRuby/trunk/spec/frozen/core/thread/shared/exit.rb
===================================================================
--- MacRuby/trunk/spec/frozen/core/thread/shared/exit.rb 2009-11-04 21:52:49 UTC (rev 2957)
+++ MacRuby/trunk/spec/frozen/core/thread/shared/exit.rb 2009-11-05 02:08:24 UTC (rev 2958)
@@ -83,22 +83,22 @@
t.join
ScratchPad.recorded.should == :after_stop
end
- end
- it "killing dying running does nothing" do
- in_ensure_clause = false
- exit_loop = false
- t = ThreadSpecs.dying_thread_ensures do
- in_ensure_clause = true
- loop { if exit_loop then break end }
- ScratchPad.record :after_stop
+ it "killing dying running does nothing" do
+ in_ensure_clause = false
+ exit_loop = false
+ t = ThreadSpecs.dying_thread_ensures do
+ in_ensure_clause = true
+ loop { if exit_loop then break end }
+ ScratchPad.record :after_stop
+ end
+
+ Thread.pass until in_ensure_clause == true
+ 10.times { t.send(@method); Thread.pass }
+ exit_loop = true
+ t.join
+ ScratchPad.recorded.should == :after_stop
end
-
- Thread.pass until in_ensure_clause == true
- 10.times { t.send(@method); Thread.pass }
- exit_loop = true
- t.join
- ScratchPad.recorded.should == :after_stop
end
quarantine! do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091104/ce849f1f/attachment.html>
More information about the macruby-changes
mailing list