Skip to content

Commit

Permalink
[ruby/irb] Remove unused lvar in mesure command test
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored and matzbot committed Dec 13, 2023
1 parent a4b43e9 commit c83a648
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/irb/test_cmd.rb
Expand Up @@ -357,12 +357,6 @@ def test_measure_with_custom
end

def test_measure_toggle
measuring_proc = proc { |line, line_no, &block|
time = Time.now
result = block.()
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
result
}
conf = {
PROMPT: {
DEFAULT: {
Expand Down

0 comments on commit c83a648

Please sign in to comment.