From 320178b120303df3a212c9b891b8f15cd329083b Mon Sep 17 00:00:00 2001 From: tomoya ishida Date: Thu, 14 Dec 2023 02:05:30 +0900 Subject: [PATCH] Remove unused lvar in mesure command test (#814) --- test/irb/test_cmd.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index da7b223fc..d99ac05c5 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -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: {