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