aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/kernel/untaint_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/kernel/untaint_spec.rb')
-rw-r--r--spec/ruby/core/kernel/untaint_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/untaint_spec.rb b/spec/ruby/core/kernel/untaint_spec.rb
index df9e3144a0..171d32b356 100644
--- a/spec/ruby/core/kernel/untaint_spec.rb
+++ b/spec/ruby/core/kernel/untaint_spec.rb
@@ -11,7 +11,7 @@ describe "Kernel#untaint" do
it "clears the tainted bit" do
o = Object.new.taint
o.untaint
- o.tainted?.should == false
+ o.should_not.tainted?
end
it "raises FrozenError on a tainted, frozen object" do