summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/shared
diff options
context:
space:
mode:
authorBenoit Daloze <[email protected]>2020-05-03 12:28:29 +0200
committerBenoit Daloze <[email protected]>2020-05-03 12:28:29 +0200
commit5aaa75e7c1f4b7912c10ffdcb1cac581e20eda39 (patch)
treee1694f5a4a5558884b1b8f3890b186793e5e982f /spec/ruby/core/array/shared
parentf646d20aaeb8f02bcd3d0c5c3f5a372da654502a (diff)
Update to ruby/spec@032ee74
Diffstat (limited to 'spec/ruby/core/array/shared')
-rw-r--r--spec/ruby/core/array/shared/clone.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/array/shared/clone.rb b/spec/ruby/core/array/shared/clone.rb
index f6f581b17c..3c17b1f10f 100644
--- a/spec/ruby/core/array/shared/clone.rb
+++ b/spec/ruby/core/array/shared/clone.rb
@@ -26,8 +26,8 @@ describe :array_clone, shared: true do
aa = a.send @method
bb = b.send @method
- aa.tainted?.should == true
- bb.tainted?.should == false
+ aa.should.tainted?
+ bb.should_not.tainted?
end
it "copies untrusted status from the original" do
@@ -37,8 +37,8 @@ describe :array_clone, shared: true do
aa = a.send @method
bb = b.send @method
- aa.untrusted?.should == true
- bb.untrusted?.should == false
+ aa.should.untrusted?
+ bb.should_not.untrusted?
end
end
end