diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-03-08 23:58:05 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-03-08 23:58:05 -0300 |
commit | 9f69f0156907aee642fc43ca6524f4f37abd5388 (patch) | |
tree | 9392a6a715ddea70228b607754067bd8a1326dee /activesupport | |
parent | 657095d8bbec51999d66b379245e8d3466ee27af (diff) | |
download | rails-9f69f0156907aee642fc43ca6524f4f37abd5388.tar.gz rails-9f69f0156907aee642fc43ca6524f4f37abd5388.tar.bz2 rails-9f69f0156907aee642fc43ca6524f4f37abd5388.zip |
Remove warning of unused variable
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 d71e3f968f..4544edf0dd 100644 --- a/activesupport/test/core_ext/hash_ext_test.rb +++ b/activesupport/test/core_ext/hash_ext_test.rb @@ -490,7 +490,7 @@ class HashExtTest < ActiveSupport::TestCase original = {:a => 1, :b => 2, :c => 3, :d => 4} expected = {:a => 1, :b => 2} - assert_equal expected, {:a => 1, :b => 2, :c => 3, :d => 4}.extract!(:a, :b) + assert_equal expected, original.extract!(:a, :b) end def test_except |