Skip to content

Commit 12cb80e

Browse files
duersteregon
authored andcommitted
Fix ruby_version guards in Unicode/Emoji version specs
Correct version guards in ruby_version in Unicode/Emoji version specs to correctly use exclusive range endings.
1 parent 29aa847 commit 12cb80e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/rbconfig/unicode_emoji_version_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
end
1515
end
1616

17-
ruby_version_is "2.7"..."3.0" do
18-
it "is 12.1 for Ruby 2.7" do
17+
ruby_version_is "2.7"..."3.1" do
18+
it "is 12.1 for Ruby 2.7 and 3.0" do
1919
RbConfig::CONFIG['UNICODE_EMOJI_VERSION'].should == "12.1"
2020
end
2121
end

library/rbconfig/unicode_version_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
end
2121
end
2222

23-
ruby_version_is "2.6.3"..."3.0" do
23+
ruby_version_is "2.6.3"..."3.1" do
2424
it "is 12.1.0 for Ruby 2.6.3+, Ruby 2.7, and Ruby 3.0" do
2525
RbConfig::CONFIG['UNICODE_VERSION'].should == "12.1.0"
2626
end

0 commit comments

Comments
 (0)