File tree Expand file tree Collapse file tree 2 files changed +3
-24
lines changed
activesupport/lib/active_support/testing/parallelization Expand file tree Collapse file tree 2 files changed +3
-24
lines changed Original file line number Diff line number Diff line change 347
347
mini_magick (4.12.0 )
348
348
mini_mime (1.1.5 )
349
349
mini_portile2 (2.8.7 )
350
- minitest (5.25.0 )
350
+ minitest (5.25.1 )
351
351
minitest-bisect (1.7.0 )
352
352
minitest-server (~> 1.0 )
353
353
path_expander (~> 1.1 )
Original file line number Diff line number Diff line change @@ -46,29 +46,8 @@ def perform_job(job)
46
46
47
47
set_process_title ( "#{ klass } ##{ method } " )
48
48
49
- result = nil
50
-
51
- # TODO: Remove conditional when we support on minitest 5.25+
52
- if klass . method ( :with_info_handler ) . arity == 2
53
- t0 = nil
54
-
55
- handler = lambda do
56
- unless reporter . passed? then
57
- warn "Current results:"
58
- warn reporter . reporters . grep ( SummaryReporter ) . first
59
- end
60
-
61
- warn "Current: %s#%s %.2fs" % [ klass , method , Minitest . clock_time - t0 ]
62
- end
63
-
64
- result = klass . with_info_handler reporter , handler do
65
- t0 = Minitest . clock_time
66
- Minitest . run_one_method ( klass , method )
67
- end
68
- else
69
- result = klass . with_info_handler reporter do
70
- Minitest . run_one_method ( klass , method )
71
- end
49
+ result = klass . with_info_handler reporter do
50
+ Minitest . run_one_method ( klass , method )
72
51
end
73
52
74
53
safe_record ( reporter , result )
You can’t perform that action at this time.
0 commit comments