summaryrefslogtreecommitdiff
path: root/spec/ruby/core/set/comparison_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/set/comparison_spec.rb')
-rw-r--r--spec/ruby/core/set/comparison_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/set/comparison_spec.rb b/spec/ruby/core/set/comparison_spec.rb
index 62059b70b3..eb18a198e5 100644
--- a/spec/ruby/core/set/comparison_spec.rb
+++ b/spec/ruby/core/set/comparison_spec.rb
@@ -17,10 +17,10 @@ describe "Set#<=>" do
end
it "returns nil if the set has unique elements" do
- (Set[1, 2, 3] <=> Set[:a, :b, :c]).should be_nil
+ (Set[1, 2, 3] <=> Set[:a, :b, :c]).should == nil
end
it "returns nil when the argument is not set-like" do
- (Set[] <=> false).should be_nil
+ (Set[] <=> false).should == nil
end
end