Skip to content

Commit 0d4cd8b

Browse files
committed
Stop AutoRunner with test-unit
1 parent 520601e commit 0d4cd8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lib/core_assertions.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ def separated_runner(token, out = nil)
249249
out.puts "#{token}<error>", [Marshal.dump($!)].pack('m'), "#{token}</error>", "#{token}assertions=#{self._assertions}"
250250
}
251251
Test::Unit::Runner.class_variable_set(:@@stop_auto_run, true) if defined?(Test::Unit::Runner)
252+
Test::Unit::AutoRunner.need_auto_run = false if defined?(Test::Unit::AutoRunner)
252253
end
253254

254255
def assert_separately(args, file = nil, line = nil, src, ignore_stderr: nil, **opt)

0 commit comments

Comments
 (0)