diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-12-25 09:59:16 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-12-25 09:59:16 +0900 |
commit | 630cc857c9dfc68fd7c8761a597675d016daa375 (patch) | |
tree | 103a74df6b2cd7e8c495fd7d422cc97d923f51d4 /activesupport | |
parent | 5b874cf42a41b966ca223a278b77fd0b4144ddb6 (diff) | |
download | rails-630cc857c9dfc68fd7c8761a597675d016daa375.tar.gz rails-630cc857c9dfc68fd7c8761a597675d016daa375.tar.bz2 rails-630cc857c9dfc68fd7c8761a597675d016daa375.zip |
"Use assert_nil if expecting nil from ...:in `...'. This will fail in MT6."
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/core_ext/hash_ext_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/hash_ext_test.rb b/activesupport/test/core_ext/hash_ext_test.rb index ff12632f84..698a67b0b3 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -1017,7 +1017,7 @@ class HashExtTest < ActiveSupport::TestCase assert_equal({}, h) h = @symbols.dup - assert_equal(nil, h.compact!) + assert_nil(h.compact!) assert_equal(@symbols, h) end |