aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_proc.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-26 10:40:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-26 10:40:48 +0000
commit7d0b6c8249acc91181f799c66074d3ef0be5eb46 (patch)
tree407df44c4b7487785ba734e39310737b9525d4d3 /test/ruby/test_proc.rb
parent2dac693ed6001a5b3151552123929b52f71a746b (diff)
downloadruby-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.rb6
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 }