[前][次][番号順一覧][スレッド一覧]

ruby-changes:71383

From: Martin <ko1@a...>
Date: Sun, 13 Mar 2022 09:41:44 +0900 (JST)
Subject: [ruby-changes:71383] 9b545b0caf (master): update specs to check for Unicode Version 14.0.0/Emoji Version 14.0

https://git.ruby-lang.org/ruby.git/commit/?id=9b545b0caf

From 9b545b0caf2ccc89718ba02ff631d2a68b96a831 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20D=C3=BCrst?= <duerst@i...>
Date: Fri, 11 Mar 2022 17:18:42 +0900
Subject: 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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb#L25
       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 https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rbconfig/unicode_version_spec.rb#L25
       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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]