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

merge revision(s) 6268fdc662:

spec/ruby/core/hash/transform_keys_spec.rb: Fix the failure of
	 ruby_3_0

	https://github.com/ruby/spec/pull/833
	8290e5ad89
	---
	 spec/ruby/core/hash/transform_keys_spec.rb | 4 ++--
	 1 file changed, 2 insertions(+), 2 deletions(-)
This commit is contained in:
nagachika 2021-04-18 17:59:19 +09:00
parent 316699605c
commit 6e6157d9a9
2 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ describe "Hash#transform_keys!" do
end end
end end
ruby_version_is "2.5.1"..."3.0" do ruby_version_is "2.5.1"..."3.0.2" do
it "returns the processed keys if we broke from the block" do it "returns the processed keys if we broke from the block" do
@hash.transform_keys! do |v| @hash.transform_keys! do |v|
break if v == :c break if v == :c
@ -94,7 +94,7 @@ describe "Hash#transform_keys!" do
end end
end end
ruby_version_is "3.0" do ruby_version_is "3.0.2" do
it "returns the processed keys and non evaluated keys if we broke from the block" do it "returns the processed keys and non evaluated keys if we broke from the block" do
@hash.transform_keys! do |v| @hash.transform_keys! do |v|
break if v == :c break if v == :c

View file

@ -12,11 +12,11 @@
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR # define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
#define RUBY_VERSION_TEENY 2 #define RUBY_VERSION_TEENY 2
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
#define RUBY_PATCHLEVEL 68 #define RUBY_PATCHLEVEL 69
#define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_YEAR 2021
#define RUBY_RELEASE_MONTH 4 #define RUBY_RELEASE_MONTH 4
#define RUBY_RELEASE_DAY 15 #define RUBY_RELEASE_DAY 18
#include "ruby/version.h" #include "ruby/version.h"