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: {