aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/thread/to_s_spec.rb
diff options
context:
space:
mode:
authorJean byroot Boussier <jean.boussier+github@shopify.com>2019-12-10 11:49:39 +0100
committerKoichi Sasada <ko1@atdot.net>2019-12-11 11:59:14 +0900
commit8a80bfcfd4d510a20a62e21d8d2f4119cb823d4f (patch)
tree80f9700e32b2a0cf89ba3b9bbcfe942252b5be87 /spec/ruby/core/thread/to_s_spec.rb
parent6a7af800dbd45946caaadfc4a1212fc523afe58b (diff)
downloadruby-8a80bfcfd4d510a20a62e21d8d2f4119cb823d4f.tar.gz
Make Thread#to_s consistent with Method and Proc to_s
Diffstat (limited to 'spec/ruby/core/thread/to_s_spec.rb')
-rw-r--r--spec/ruby/core/thread/to_s_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/ruby/core/thread/to_s_spec.rb b/spec/ruby/core/thread/to_s_spec.rb
new file mode 100644
index 0000000000..cb182a017f
--- /dev/null
+++ b/spec/ruby/core/thread/to_s_spec.rb
@@ -0,0 +1,6 @@
+require_relative '../../spec_helper'
+require_relative 'shared/to_s'
+
+describe "Thread#to_s" do
+ it_behaves_like :thread_to_s, :to_s
+end