ruby-changes:71401
From: Benoit <ko1@a...>
Date: Sun, 13 Mar 2022 21:28:09 +0900 (JST)
Subject: [ruby-changes:71401] 1b571d0abf (master): Fix guards for unicode versions specs
https://git.ruby-lang.org/ruby.git/commit/?id=1b571d0abf From 1b571d0abf6070673320b11a30769bbe74d12e39 Mon Sep 17 00:00:00 2001 From: Benoit Daloze <eregontp@g...> Date: Sun, 13 Mar 2022 13:18:56 +0100 Subject: Fix guards for unicode versions specs --- spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb | 10 +++++----- spec/ruby/library/rbconfig/unicode_version_spec.rb | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb index c5eff3fe11..c424ba5033 100644 --- a/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb @@ -20,11 +20,11 @@ describe "RbConfig::CONFIG['UNICODE_EMOJI_VERSION']" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb#L20 end end -# ruby_version_is "3.1" do -# it "is 13.1 for Ruby 3.1" do -# RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "13.1" -# end -# end + ruby_version_is "3.1"..."3.2" do + it "is 13.1 for Ruby 3.1" 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 diff --git a/spec/ruby/library/rbconfig/unicode_version_spec.rb b/spec/ruby/library/rbconfig/unicode_version_spec.rb index 238ee26b78..6424986a97 100644 --- a/spec/ruby/library/rbconfig/unicode_version_spec.rb +++ b/spec/ruby/library/rbconfig/unicode_version_spec.rb @@ -20,11 +20,11 @@ describe "RbConfig::CONFIG['UNICODE_VERSION']" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/library/rbconfig/unicode_version_spec.rb#L20 end end -# ruby_version_is "3.1" do -# it "is 13.0.0 for Ruby 3.1" do -# RbConfig::CONFIG['UNICODE_VERSION'].should == "13.0.0" -# end -# end + ruby_version_is "3.1"..."3.2" do + it "is 13.0.0 for Ruby 3.1" 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 -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/