diff options
author | Benoit Daloze <eregontp@gmail.com> | 2019-12-22 11:39:22 +0100 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2019-12-22 11:39:22 +0100 |
commit | 7c33ee5ddfafe737add2a7f4c4975108f9196dbd (patch) | |
tree | df648f4a68209732ebc8718fcda94163f5eda170 /spec/ruby/core | |
parent | d76c8cfecdaa2960153b5b24ccd0d61f9af60abd (diff) | |
download | ruby-7c33ee5ddfafe737add2a7f4c4975108f9196dbd.tar.gz |
Move version guard outside to make it clear the method was added in Ruby 2.5
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/thread/to_s_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/thread/to_s_spec.rb b/spec/ruby/core/thread/to_s_spec.rb index 942d2716cf..85976177dc 100644 --- a/spec/ruby/core/thread/to_s_spec.rb +++ b/spec/ruby/core/thread/to_s_spec.rb @@ -1,8 +1,8 @@ require_relative '../../spec_helper' require_relative 'shared/to_s' -describe "Thread#to_s" do - ruby_version_is "2.5" do +ruby_version_is "2.5" do + describe "Thread#to_s" do it_behaves_like :thread_to_s, :to_s end end |