From 60578d061a8cfe7476eae2ab75c50d0525992612 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 26 Dec 2017 10:40:48 +0000 Subject: 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 --- test/ruby/test_proc.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'test/ruby/test_proc.rb') 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 } -- cgit v1.2.3