File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import 'package:stack_trace/stack_trace.dart' as stack_trace;
1111import 'package:test/test.dart' ;
1212import 'package:very_good_cli/src/cli/cli.dart' ;
1313import 'package:very_good_test_runner/very_good_test_runner.dart' ;
14+
1415import '../../fixtures/fixtures.dart' ;
1516
1617class _MockMasonGenerator extends Mock implements MasonGenerator {}
@@ -338,6 +339,14 @@ void main() {
338339 '\x 1B[2K\r 00:12 +7 -1: Some tests failed.\n ' ,
339340 ]),
340341 );
342+
343+ final testPath = p.join (
344+ 'test' ,
345+ 'counter' ,
346+ 'cubit' ,
347+ 'counter_cubit_test.dart' ,
348+ );
349+
341350 expect (
342351 stderrLogs,
343352 equals (
@@ -349,7 +358,7 @@ void main() {
349358 'test/counter/cubit/counter_cubit_test.dart 16:7 main.<fn>.<fn>\n ' ,
350359 '\x 1B[2K\r CounterCubit initial state is 0 ${tempDirectory .path }/test/counter/cubit/counter_cubit_test.dart (FAILED)' ,
351360 '\x 1B[2K\r Failing Tests:\n '
352- '\x 1B[2K\r - test/counter/cubit/counter_cubit_test.dart \n '
361+ '\x 1B[2K\r - $ testPath \n '
353362 '\x 1B[2K\r \t - [FAILED] CounterCubit initial state is 0\n ' ,
354363 ],
355364 ),
You can’t perform that action at this time.
0 commit comments