зеркало из https://github.com/github/ruby.git
Move version guard outside to make it clear the method was added in Ruby 2.5
This commit is contained in:
Родитель
d76c8cfecd
Коммит
7c33ee5ddf
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче