aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/thread/inspect_spec.rb
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-27 12:10:41 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-27 12:10:41 +0000
commit0cb5fa5877f7b00d1396e0dda4156e8213d37215 (patch)
tree98225086822c74e28a61a308f8999a627bf182ae /spec/rubyspec/core/thread/inspect_spec.rb
parent819977e4106c64efbcee608300dfe419903c104c (diff)
downloadruby-0cb5fa5877f7b00d1396e0dda4156e8213d37215.tar.gz
Update to ruby/spec@c3e6b90
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/rubyspec/core/thread/inspect_spec.rb')
-rw-r--r--spec/rubyspec/core/thread/inspect_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/rubyspec/core/thread/inspect_spec.rb b/spec/rubyspec/core/thread/inspect_spec.rb
index 759f6e756c..95e598eb6a 100644
--- a/spec/rubyspec/core/thread/inspect_spec.rb
+++ b/spec/rubyspec/core/thread/inspect_spec.rb
@@ -31,12 +31,14 @@ describe "Thread#inspect" do
end
it "describes a dying sleeping thread" do
- ThreadSpecs.status_of_dying_sleeping_thread.status.should include('sleep')
+ ThreadSpecs.status_of_dying_sleeping_thread.inspect.should include('sleep')
end
- quarantine! do
it "reports aborting on a killed thread" do
- ThreadSpecs.status_of_aborting_thread.inspect.should include('aborting')
+ ThreadSpecs.status_of_dying_running_thread.inspect.should include('aborting')
end
+
+ it "reports aborting on a killed thread after sleep" do
+ ThreadSpecs.status_of_dying_thread_after_sleep.inspect.should include('aborting')
end
end