aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/time/succ_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/succ_spec.rb')
-rw-r--r--spec/ruby/core/time/succ_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/time/succ_spec.rb b/spec/ruby/core/time/succ_spec.rb
index 6831200741..ade72165ec 100644
--- a/spec/ruby/core/time/succ_spec.rb
+++ b/spec/ruby/core/time/succ_spec.rb
@@ -14,6 +14,6 @@ describe "Time#succ" do
-> {
t2 = t1.succ
}.should complain(/Time#succ is obsolete/)
- t1.object_id.should_not == t2.object_id
+ t1.should_not equal t2
end
end