Skip to content

Commit

Permalink
Clean up a duplicated definition
Browse files Browse the repository at this point in the history
I simply forgot deleting it.
  • Loading branch information
k0kubun committed Oct 11, 2021
1 parent 460bd12 commit 65399d5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/irb/test_cmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def test_show_source

def test_show_source_end_finder
pend if RUBY_ENGINE == 'truffleruby'
code = <<~EOS.gsub(/^/, ' ' * 4); eval(code, binding, __FILE__, __LINE__ + 1) unless respond_to?(:show_source_test_method)
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
def show_source_test_method
unless true
end
Expand Down Expand Up @@ -549,11 +549,5 @@ def test_whereami
assert_empty err
assert_match(/^From: .+ @ line \d+ :\n/, out)
end

# This method is used for testing show_source command
def show_source_test_method
unless true
end
end
end
end

0 comments on commit 65399d5

Please sign in to comment.