Permalink
Browse files

Remove warning

  • Loading branch information...
1 parent 662f8de commit bcd6def32b0970b33a49c721ea247c8360bf8344 @rafaelfranca rafaelfranca committed Jan 16, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/core_ext/module_test.rb
@@ -246,12 +246,12 @@ class << self
end
def test_delegation_line_number
- file, line = Someone.instance_method(:foo).source_location
+ _, line = Someone.instance_method(:foo).source_location
assert_equal Someone::FAILED_DELEGATE_LINE, line
end
def test_delegate_line_with_nil
- file, line = Someone.instance_method(:bar).source_location
+ _, line = Someone.instance_method(:bar).source_location
assert_equal Someone::FAILED_DELEGATE_LINE_2, line
end

0 comments on commit bcd6def

Please sign in to comment.