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:
parent
d76c8cfecd
commit
7c33ee5ddf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue