@@ -242,6 +242,9 @@ void main() {
242242 verify (
243243 () => logger.err (any (that: contains ('${testFile .path } (FAILED)' ))),
244244 ).called (1 );
245+ verify (
246+ () => logger.write (any (that: contains ('-1: example' ))),
247+ ).called (1 );
245248 verify (
246249 () => logger.write (any (that: contains ('Some tests failed.' ))),
247250 ).called (1 );
@@ -272,7 +275,10 @@ void main() {
272275 () => logger.write (any (that: contains ('${testFile .path } (SKIPPED)' ))),
273276 ).called (1 );
274277 verify (
275- () => logger.write (any (that: contains ('All tests passed!' ))),
278+ () => logger.write (any (that: contains ('+1 ~1: example' ))),
279+ ).called (1 );
280+ verify (
281+ () => logger.write (any (that: contains ('+1 ~1: All tests passed!' ))),
276282 ).called (1 );
277283 });
278284
@@ -309,7 +315,10 @@ void main() {
309315 () => logger.write (any (that: contains ('${testFile .path } (SKIPPED)' ))),
310316 ).called (1 );
311317 verify (
312- () => logger.write (any (that: contains ('All tests passed!' ))),
318+ () => logger.write (any (that: contains ('+1 ~1: example' ))),
319+ ).called (1 );
320+ verify (
321+ () => logger.write (any (that: contains ('+1 ~1: All tests passed!' ))),
313322 ).called (1 );
314323 });
315324
@@ -338,7 +347,10 @@ void main() {
338347 () => logger.write (any (that: contains ('Hello World' ))),
339348 ).called (1 );
340349 verify (
341- () => logger.write (any (that: contains ('All tests passed!' ))),
350+ () => logger.write (any (that: contains ('+1: example' ))),
351+ ).called (1 );
352+ verify (
353+ () => logger.write (any (that: contains ('+1: All tests passed!' ))),
342354 ).called (1 );
343355 });
344356
@@ -368,7 +380,10 @@ void main() {
368380 () => logger.err (any (that: contains ('Exception: oops' ))),
369381 ).called (1 );
370382 verify (
371- () => logger.write (any (that: contains ('Some tests failed.' ))),
383+ () => logger.write (any (that: contains ('-1: example' ))),
384+ ).called (1 );
385+ verify (
386+ () => logger.write (any (that: contains ('-1: Some tests failed.' ))),
372387 ).called (1 );
373388 });
374389
@@ -405,7 +420,7 @@ void main() {
405420 ),
406421 ).called (1 );
407422 verify (
408- () => logger.write (any (that: contains ('All tests passed!' ))),
423+ () => logger.write (any (that: contains ('+1: All tests passed!' ))),
409424 ).called (1 );
410425 });
411426
@@ -440,7 +455,7 @@ void main() {
440455 ),
441456 ).called (1 );
442457 verify (
443- () => logger.write (any (that: contains ('All tests passed!' ))),
458+ () => logger.write (any (that: contains ('+1: All tests passed!' ))),
444459 ).called (1 );
445460 });
446461 });
0 commit comments