summaryrefslogtreecommitdiff
path: root/spec/ruby/core/thread/exit_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/thread/exit_spec.rb')
-rw-r--r--spec/ruby/core/thread/exit_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/exit_spec.rb b/spec/ruby/core/thread/exit_spec.rb
index c3f710920e..b2e923c680 100644
--- a/spec/ruby/core/thread/exit_spec.rb
+++ b/spec/ruby/core/thread/exit_spec.rb
@@ -10,6 +10,6 @@ describe "Thread.exit" do
it "causes the current thread to exit" do
thread = Thread.new { Thread.exit; sleep }
thread.join
- thread.status.should be_false
+ thread.status.should == false
end
end