summaryrefslogtreecommitdiff
path: root/test/irb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-20 19:36:24 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-20 19:36:24 +0900
commit8680ae9cbd6e7e7e08f6d21fa8d35abdc82342da (patch)
tree63e67e0c4d43a8969b1fd9778dcea29539a016af /test/irb
parent4b6e3f7b82e03d6eb6562631365d35abaee35fb3 (diff)
irb: Removed unused variablesv3_0_0_rc1
Diffstat (limited to 'test/irb')
-rw-r--r--test/irb/test_cmd.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb
index 55549d0..b2246df 100644
--- a/test/irb/test_cmd.rb
+++ b/test/irb/test_cmd.rb
@@ -224,7 +224,6 @@ module TestIRB
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
time = Time.now
result = block.()
- now = Time.now
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
result
}
@@ -258,7 +257,6 @@ module TestIRB
IRB.conf[:MEASURE_PROC][:CUSTOM] = proc { |line, line_no, &block|
time = Time.now
result = block.()
- now = Time.now
puts 'custom processing time: %fs' % (Time.now - time) if IRB.conf[:MEASURE]
result
}