1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move version guard outside to make it clear the method was added in Ruby 2.5

This commit is contained in:
Benoit Daloze 2019-12-22 11:39:22 +01:00
parent d76c8cfecd
commit 7c33ee5ddf

View file

@ -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