diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-16 20:36:38 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-16 20:36:38 -0200 |
commit | bcd6def32b0970b33a49c721ea247c8360bf8344 (patch) | |
tree | b390bca733dc74e5d5cdc4c94ad59b895da8f093 /activesupport/test | |
parent | 662f8de06f4f72bd8794bbaa2241a6f87acaf5b7 (diff) | |
download | rails-bcd6def32b0970b33a49c721ea247c8360bf8344.tar.gz rails-bcd6def32b0970b33a49c721ea247c8360bf8344.tar.bz2 rails-bcd6def32b0970b33a49c721ea247c8360bf8344.zip |
Remove warning
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/module_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/module_test.rb b/activesupport/test/core_ext/module_test.rb index 4680fe5dfe..ff6e21854e 100644 --- a/activesupport/test/core_ext/module_test.rb +++ b/activesupport/test/core_ext/module_test.rb @@ -246,12 +246,12 @@ class ModuleTest < ActiveSupport::TestCase 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 |