Skip to content

Commit

Permalink
Fix guards
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Oct 4, 2021
1 parent 14325bd commit 9631c5a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/string/reverse_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end
end

ruby_version_is ''...'3.0.0' do
ruby_version_is ''...'3.0' do
it "returns subclass instances when called on a subclass" do
StringSpecs::MyString.new("stressed").reverse.should be_an_instance_of(StringSpecs::MyString)
StringSpecs::MyString.new("m").reverse.should be_an_instance_of(StringSpecs::MyString)
Expand Down
2 changes: 1 addition & 1 deletion core/string/scrub_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
end
end

ruby_version_is ''...'3.0.0' do
ruby_version_is ''...'3.0' do
it "returns subclass instances when called on a subclass" do
StringSpecs::MyString.new("foo").scrub.should be_an_instance_of(StringSpecs::MyString)
end
Expand Down
2 changes: 1 addition & 1 deletion core/string/shared/partition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end
end

ruby_version_is ''...'3.0.0' do
ruby_version_is ''...'3.0' do
it "returns subclass instances when called on a subclass" do
StringSpecs::MyString.new("hello").send(@method, StringSpecs::MyString.new("l")).each do |item|
item.should be_an_instance_of(StringSpecs::MyString)
Expand Down
2 changes: 1 addition & 1 deletion core/string/shared/strip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
end
end

ruby_version_is ''...'3.0.0' do
ruby_version_is ''...'3.0' do
it "returns subclass instances when called on a subclass" do
StringSpecs::MyString.new(" hello ").send(@method).should be_an_instance_of(StringSpecs::MyString)
StringSpecs::MyString.new(" ").send(@method).should be_an_instance_of(StringSpecs::MyString)
Expand Down

0 comments on commit 9631c5a

Please sign in to comment.