Permalink
Browse files

Merge pull request #5348 from rafaelfranca/fix-warning

Remove warning of unused variable
  • Loading branch information...
2 parents 657095d + 9f69f01 commit 2741f2cd6de4922c7dfdeb03860ea6b5c5d4b3f8 @vijaydev vijaydev committed Mar 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 2741f2c

Please sign in to comment.