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:
parent
316699605c
commit
6e6157d9a9
2 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ describe "Hash#transform_keys!" do
|
|||
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
|
||||
@hash.transform_keys! do |v|
|
||||
break if v == :c
|
||||
|
@ -94,7 +94,7 @@ describe "Hash#transform_keys!" do
|
|||
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
|
||||
@hash.transform_keys! do |v|
|
||||
break if v == :c
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 2
|
||||
#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_MONTH 4
|
||||
#define RUBY_RELEASE_DAY 15
|
||||
#define RUBY_RELEASE_DAY 18
|
||||
|
||||
#include "ruby/version.h"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue