aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/hash_with_indifferent_access_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/hash_with_indifferent_access_test.rb')
-rw-r--r--activesupport/test/hash_with_indifferent_access_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/hash_with_indifferent_access_test.rb b/activesupport/test/hash_with_indifferent_access_test.rb
index 77fc039459..b3788ee65c 100644
--- a/activesupport/test/hash_with_indifferent_access_test.rb
+++ b/activesupport/test/hash_with_indifferent_access_test.rb
@@ -560,7 +560,7 @@ class HashWithIndifferentAccessTest < ActiveSupport::TestCase
def test_double_conversion_with_nil_key
h = { nil => "defined" }.with_indifferent_access.with_indifferent_access
- assert_equal nil, h[:undefined_key]
+ assert_nil h[:undefined_key]
end
def test_assorted_keys_not_stringified