diff options
author | Martin Dürst <duerst@it.aoyama.ac.jp> | 2022-03-11 17:18:42 +0900 |
---|---|---|
committer | Martin Dürst <duerst@it.aoyama.ac.jp> | 2022-03-13 09:19:52 +0900 |
commit | 9b545b0caf2ccc89718ba02ff631d2a68b96a831 (patch) | |
tree | 401b39b6bedc1dc65275ed759d6d4fc9c7211866 /spec/ruby/library | |
parent | 2672502457523317268ac24704cf85df91e2cae6 (diff) |
update specs to check for Unicode Version 14.0.0/Emoji Version 14.0
Diffstat (limited to 'spec/ruby/library')
-rw-r--r-- | spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb | 6 | ||||
-rw-r--r-- | spec/ruby/library/rbconfig/unicode_version_spec.rb | 6 |
2 files changed, 12 insertions, 0 deletions
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 |