aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/string/rjust_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/string/rjust_spec.rb')
-rw-r--r--spec/ruby/core/string/rjust_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/ruby/core/string/rjust_spec.rb b/spec/ruby/core/string/rjust_spec.rb
index 9285ecb6a7..bf39f4fdb9 100644
--- a/spec/ruby/core/string/rjust_spec.rb
+++ b/spec/ruby/core/string/rjust_spec.rb
@@ -33,11 +33,11 @@ describe "String#rjust with length, padding" do
ruby_version_is ''...'2.7' do
it "taints result when self or padstr is tainted" do
- "x".taint.rjust(4).tainted?.should == true
- "x".taint.rjust(0).tainted?.should == true
- "".taint.rjust(0).tainted?.should == true
- "x".taint.rjust(4, "*").tainted?.should == true
- "x".rjust(4, "*".taint).tainted?.should == true
+ "x".taint.rjust(4).should.tainted?
+ "x".taint.rjust(0).should.tainted?
+ "".taint.rjust(0).should.tainted?
+ "x".taint.rjust(4, "*").should.tainted?
+ "x".rjust(4, "*".taint).should.tainted?
end
end