Skip to content

Commit ca37274

Browse files
authored
fix(test): add trailing newline when no test folder found (#405)
1 parent 3ece759 commit ca37274

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/src/cli/flutter_cli.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class Flutter {
145145

146146
if (!Directory(p.join(target.dir.absolute.path, 'test')).existsSync()) {
147147
stdout?.call(
148-
'No test folder found in ${target.dir.absolute.path}',
148+
'No test folder found in ${target.dir.absolute.path}\n',
149149
);
150150
return ExitCode.success.code;
151151
}

test/src/cli/flutter_cli_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ void main() {
368368
() => logger.write(
369369
any(
370370
that: contains(
371-
'No test folder found in ${directory.path}',
371+
'No test folder found in ${directory.path}\n',
372372
),
373373
),
374374
),

0 commit comments

Comments
 (0)