Skip to content

Commit

Permalink
Remove unused lvar in mesure command test (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored Dec 13, 2023
1 parent e79a90a commit 320178b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/irb/test_cmd.rb
Original file line number Diff line number Diff line change
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 320178b

Please sign in to comment.