summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb6
-rw-r--r--spec/ruby/library/rbconfig/unicode_version_spec.rb6
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