155155function Base. show (io:: IO , :: MIME"text/plain" , stop_when_all:: StopWhenAll )
156156 print (io, " StopWhenAll with the Stopping Criteria:" )
157157 for stopping_criterion in stop_when_all. criteria
158- print (io, " \n " )
159- replace (io, sprint (show, stopping_criterion; context = io), " \n " => " \n " ) # increase indent
158+ print (io, " \n\t " )
159+ replace (io, sprint (show, stopping_criterion; context = io), " \n " => " \n\t " ) # increase indent
160160 end
161161 return nothing
162162end
206206function Base. show (io:: IO , :: MIME"text/plain" , stop_when_any:: StopWhenAny )
207207 print (io, " StopWhenAny with the Stopping Criteria:" )
208208 for stopping_criterion in stop_when_any. criteria
209- print (io, " \n " )
210- replace (io, sprint (show, stopping_criterion; context = io), " \n " => " \n " ) # increase indent
209+ print (io, " \n\t " )
210+ replace (io, sprint (show, stopping_criterion; context = io), " \n " => " \n\t " ) # increase indent
211211 end
212212 return nothing
213213end
@@ -356,8 +356,8 @@ function Base.summary(
356356 r = " Stop when _one_ of the following are fulfilled:\n "
357357 for (stopping_criterion, stopping_criterion_state) in
358358 zip (stop_when_any. criteria, stopping_criterion_states. criteria_states)
359- t = replace (summary (stopping_criterion, stopping_criterion_state), " \n " => " \n " )
360- r = " $(r) $(t) \n "
359+ t = replace (summary (stopping_criterion, stopping_criterion_state), " \n " => " \n\t " )
360+ r = " $(r) \t $(t) \n "
361361 end
362362 return print (io, " $(r) Overall: $(s) " )
363363end
@@ -370,8 +370,8 @@ function Base.summary(
370370 r = " Stop when _all_ of the following are fulfilled:\n "
371371 for (stopping_criterion, stopping_criterion_state) in
372372 zip (stop_when_all. criteria, stopping_criterion_states. criteria_states)
373- t = replace (summary (stopping_criterion, stopping_criterion_state), " \n " => " \n " )
374- r = " $(r) $(t) \n "
373+ t = replace (summary (stopping_criterion, stopping_criterion_state), " \n " => " \n\t " )
374+ r = " $(r) \t $(t) \n "
375375 end
376376 return print (io, " $(r) Overall: $(s) " )
377377end
0 commit comments