From 9b545b0caf2ccc89718ba02ff631d2a68b96a831 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20D=C3=BCrst?= Date: Fri, 11 Mar 2022 17:18:42 +0900 Subject: [PATCH] update specs to check for Unicode Version 14.0.0/Emoji Version 14.0 --- spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb | 6 ++++++ spec/ruby/library/rbconfig/unicode_version_spec.rb | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb index b7d9c7a8e4..43b8e663de 100644 --- a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb @@ -25,4 +25,10 @@ describe "RbConfig::CONFIG['UNICODE_EMOJI_VERSION']" do RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "13.1" end end + + ruby_version_is "3.2" do + it "is 14.0 for Ruby 3.2" do + RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "14.0" + end + end end diff --git a/spec/ruby/library/rbconfig/unicode_version_spec.rb b/spec/ruby/library/rbconfig/unicode_version_spec.rb index fe19b10293..fb187445d3 100644 --- a/spec/ruby/library/rbconfig/unicode_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_version_spec.rb @@ -25,4 +25,10 @@ describe "RbConfig::CONFIG['UNICODE_VERSION']" do RbConfig::CONFIG['UNICODE_VERSION'].should == "13.0.0" end end + + ruby_version_is "3.2" do + it "is 14.0.0 for Ruby 3.2" do + RbConfig::CONFIG['UNICODE_VERSION'].should == "14.0.0" + end + end end