diff options
Diffstat (limited to 'spec/ruby/core/thread/to_s_spec.rb')
-rw-r--r-- | spec/ruby/core/thread/to_s_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/to_s_spec.rb b/spec/ruby/core/thread/to_s_spec.rb index cb182a017f..942d2716cf 100644 --- a/spec/ruby/core/thread/to_s_spec.rb +++ b/spec/ruby/core/thread/to_s_spec.rb @@ -2,5 +2,7 @@ require_relative '../../spec_helper' require_relative 'shared/to_s' describe "Thread#to_s" do - it_behaves_like :thread_to_s, :to_s + ruby_version_is "2.5" do + it_behaves_like :thread_to_s, :to_s + end end |