diff --git a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb index 2e713ae878..80ba831fd5 100644 --- a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb @@ -14,8 +14,8 @@ describe "RbConfig::CONFIG['UNICODE_EMOJI_VERSION']" do end end - ruby_version_is "2.7"..."3.0" do - it "is 12.1 for Ruby 2.7" do + ruby_version_is "2.7"..."3.1" do + it "is 12.1 for Ruby 2.7 and 3.0" do RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "12.1" end end diff --git a/spec/ruby/library/rbconfig/unicode_version_spec.rb b/spec/ruby/library/rbconfig/unicode_version_spec.rb index 0c1c9433e7..a6dc6478ff 100644 --- a/spec/ruby/library/rbconfig/unicode_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_version_spec.rb @@ -20,7 +20,7 @@ describe "RbConfig::CONFIG['UNICODE_VERSION']" do end end - ruby_version_is "2.6.3"..."3.0" do + ruby_version_is "2.6.3"..."3.1" do it "is 12.1.0 for Ruby 2.6.3+, Ruby 2.7, and Ruby 3.0" do RbConfig::CONFIG['UNICODE_VERSION'].should == "12.1.0" end