diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-09-13 11:32:21 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-09-13 11:32:51 +0900 |
| commit | d1d0c50c9d557d57cd0c209e5e2759a05eed3f05 (patch) | |
| tree | d359455b99caeeab7d80965f91f86e64c2dc94be /test/ruby | |
| parent | d80a81c1526cc01a4cbd2e2bb3e0feae5bd9c800 (diff) | |
Prevent a warning: assigned but unused variable - t0
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb index e3aabb4287..eae9a8e7b0 100644 --- a/test/ruby/test_file.rb +++ b/test/ruby/test_file.rb @@ -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 |
