Prevent a warning: assigned but unused variable - t0

This commit is contained in:
Yusuke Endoh 2024-09-13 11:32:21 +09:00
parent d80a81c152
commit d1d0c50c9d

View file

@ -378,7 +378,7 @@ class TestFile < Test::Unit::TestCase
file.close
path = file.path
t0 = measure_time do
measure_time do
File.write(path, "foo")
end