ruby-changes:59371
From: Benoit <ko1@a...>
Date: Sun, 22 Dec 2019 19:40:12 +0900 (JST)
Subject: [ruby-changes:59371] 7c33ee5ddf (master): Move version guard outside to make it clear the method was added in Ruby 2.5
https://git.ruby-lang.org/ruby.git/commit/?id=7c33ee5ddf From 7c33ee5ddfafe737add2a7f4c4975108f9196dbd Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Sun, 22 Dec 2019 11:39:22 +0100 Subject: Move version guard outside to make it clear the method was added in Ruby 2.5 diff --git a/spec/ruby/core/thread/to_s_spec.rb b/spec/ruby/core/thread/to_s_spec.rb index 942d271..8597617 100644 --- a/spec/ruby/core/thread/to_s_spec.rb +++ b/spec/ruby/core/thread/to_s_spec.rb @@ -1,8 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/thread/to_s_spec.rb#L1 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/