summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-23 10:44:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-23 10:44:27 +0900
commitd1f50b9872f2768d8790170904ccf6d28aaee633 (patch)
treef6932e19b049f789ebf1bf7559611c9017ecc107
parent2e87488d13ebbbdcb8778b0bd2bfae2223e0a8ec (diff)
Initialize the class variable for Minitest::Unit.current_repeat_count
-rw-r--r--tool/lib/minitest/unit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb
index c85b41e5fc..7090f8af3f 100644
--- a/tool/lib/minitest/unit.rb
+++ b/tool/lib/minitest/unit.rb
@@ -779,6 +779,7 @@ module MiniTest
@@installed_at_exit ||= false
@@out = $stdout
@@after_tests = []
+ @@current_repeat_count = 0
##
# A simple hook allowing you to run a block of code after _all_ of