diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-26 10:40:48 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-26 10:40:48 +0000 |
commit | 7d0b6c8249acc91181f799c66074d3ef0be5eb46 (patch) | |
tree | 407df44c4b7487785ba734e39310737b9525d4d3 /test/ruby/test_proc.rb | |
parent | 2dac693ed6001a5b3151552123929b52f71a746b (diff) | |
download | ruby-7d0b6c8249acc91181f799c66074d3ef0be5eb46.tar.gz |
test_proc.rb: remove duplicate test_source_location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_proc.rb')
-rw-r--r-- | test/ruby/test_proc.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index ff0e5f9775..1a1ca24228 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -406,12 +406,6 @@ class TestProc < Test::Unit::TestCase assert_equal(@@line_of_source_location_test, lineno, 'Bug #2427') end - def test_source_location - file, lineno = method(:source_location_test).source_location - assert_match(/^#{ Regexp.quote(__FILE__) }$/, file) - assert_equal(@@line_of_source_location_test, lineno, 'Bug #2427') - end - def test_proc_lambda assert_raise(ArgumentError) { proc } assert_raise(ArgumentError) { lambda } |