Skip to content

Commit 1b571d0

Browse files
committed
Fix guards for unicode versions specs
1 parent 416c63c commit 1b571d0

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

spec/ruby/library/rbconfig/unicode_emoji_version_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
end
2121
end
2222

23-
# ruby_version_is "3.1" do
24-
# it "is 13.1 for Ruby 3.1" do
25-
# RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "13.1"
26-
# end
27-
# end
23+
ruby_version_is "3.1"..."3.2" do
24+
it "is 13.1 for Ruby 3.1" do
25+
RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "13.1"
26+
end
27+
end
2828

2929
ruby_version_is "3.2" do
3030
it "is 14.0 for Ruby 3.2" do

spec/ruby/library/rbconfig/unicode_version_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
end
2121
end
2222

23-
# ruby_version_is "3.1" do
24-
# it "is 13.0.0 for Ruby 3.1" do
25-
# RbConfig::CONFIG['UNICODE_VERSION'].should == "13.0.0"
26-
# end
27-
# end
23+
ruby_version_is "3.1"..."3.2" do
24+
it "is 13.0.0 for Ruby 3.1" do
25+
RbConfig::CONFIG['UNICODE_VERSION'].should == "13.0.0"
26+
end
27+
end
2828

2929
ruby_version_is "3.2" do
3030
it "is 14.0.0 for Ruby 3.2" do

0 commit comments

Comments
 (0)