From d1f50b9872f2768d8790170904ccf6d28aaee633 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 23 Apr 2020 10:44:27 +0900 Subject: [PATCH] Initialize the class variable for Minitest::Unit.current_repeat_count --- tool/lib/minitest/unit.rb | 1 + 1 file changed, 1 insertion(+) 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