ruby-changes:60879
From: Nobuyoshi <ko1@a...>
Date: Thu, 23 Apr 2020 10:55:05 +0900 (JST)
Subject: [ruby-changes:60879] d1f50b9872 (master): Initialize the class variable for Minitest::Unit.current_repeat_count
https://git.ruby-lang.org/ruby.git/commit/?id=d1f50b9872 From d1f50b9872f2768d8790170904ccf6d28aaee633 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 23 Apr 2020 10:44:27 +0900 Subject: Initialize the class variable for Minitest::Unit.current_repeat_count diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb index c85b41e..7090f8a 100644 --- a/tool/lib/minitest/unit.rb +++ b/tool/lib/minitest/unit.rb @@ -779,6 +779,7 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/tool/lib/minitest/unit.rb#L779 @@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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/