aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/hash/shared/eql.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/hash/shared/eql.rb')
-rw-r--r--spec/ruby/core/hash/shared/eql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/hash/shared/eql.rb b/spec/ruby/core/hash/shared/eql.rb
index d8c33179fc..e294edd764 100644
--- a/spec/ruby/core/hash/shared/eql.rb
+++ b/spec/ruby/core/hash/shared/eql.rb
@@ -118,7 +118,7 @@ describe :hash_eql_additional, shared: true do
{ 1.0 => "x" }.send(@method, { 1 => "x" }).should be_false
end
- it "returns true iff other Hash has the same number of keys and each key-value pair matches" do
+ it "returns true if and only if other Hash has the same number of keys and each key-value pair matches" do
a = { a: 5 }
b = {}
a.send(@method, b).should be_false