aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/shared/succ.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/shared/succ.rb')
-rw-r--r--spec/ruby/core/string/shared/succ.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/string/shared/succ.rb b/spec/ruby/core/string/shared/succ.rb
index 346ccee409..7ca488dd88 100644
--- a/spec/ruby/core/string/shared/succ.rb
+++ b/spec/ruby/core/string/shared/succ.rb
@@ -68,7 +68,7 @@ describe :string_succ, shared: true do
ruby_version_is ''...'2.7' do
it "taints the result if self is tainted" do
["", "a", "z", "Z", "9", "\xFF", "\xFF\xFF"].each do |s|
- s.taint.send(@method).tainted?.should == true
+ s.taint.send(@method).should.tainted?
end
end
end