summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-27 11:23:23 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-27 11:23:23 +0900
commita37a2f5fef5ee2a9dd5c5fcb8b30318e72f693a5 (patch)
tree9c061daed859315fd874f638d0eee9097f97d714
parent7962f32b7056320c1ec44b7a8618d9788c3648b6 (diff)
Clear failure_log by assignment like as appending by assignment
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12479
-rwxr-xr-xbootstraptest/runner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index 3f905a9f02..8d30d3743c 100755
--- a/bootstraptest/runner.rb
+++ b/bootstraptest/runner.rb
@@ -412,7 +412,7 @@ module Launchable
}
)
@@duration = 0
- @@failure_log.clear
+ @@failure_log = ''
end
@@last_test_name = relative_path
@@duration += t