aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/rstrip_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/rstrip_spec.rb')
-rw-r--r--spec/ruby/core/string/rstrip_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/string/rstrip_spec.rb b/spec/ruby/core/string/rstrip_spec.rb
index 0a01ffad73..57e1867956 100644
--- a/spec/ruby/core/string/rstrip_spec.rb
+++ b/spec/ruby/core/string/rstrip_spec.rb
@@ -16,9 +16,9 @@ describe "String#rstrip" do
ruby_version_is ''...'2.7' do
it "taints the result when self is tainted" do
- "".taint.rstrip.tainted?.should == true
- "ok".taint.rstrip.tainted?.should == true
- "ok ".taint.rstrip.tainted?.should == true
+ "".taint.rstrip.should.tainted?
+ "ok".taint.rstrip.should.tainted?
+ "ok ".taint.rstrip.should.tainted?
end
end
end