Browse files

Remove warning of unused variable

  • Loading branch information...
1 parent 657095d commit 9f69f0156907aee642fc43ca6524f4f37abd5388 @rafaelfranca rafaelfranca committed Mar 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/core_ext/hash_ext_test.rb
View
2 activesupport/test/core_ext/hash_ext_test.rb
@@ -490,7 +490,7 @@ def test_extract
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

0 comments on commit 9f69f01

Please sign in to comment.