diff options
author | Jean byroot Boussier <jean.boussier+github@shopify.com> | 2019-12-10 11:49:39 +0100 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2019-12-11 11:59:14 +0900 |
commit | 8a80bfcfd4d510a20a62e21d8d2f4119cb823d4f (patch) | |
tree | 80f9700e32b2a0cf89ba3b9bbcfe942252b5be87 /spec/ruby/core/thread/to_s_spec.rb | |
parent | 6a7af800dbd45946caaadfc4a1212fc523afe58b (diff) | |
download | ruby-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.rb | 6 |
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 |