Skip to content

Commit 80b4a7e

Browse files
committed
test: fix withRunner
1 parent 8f16d3e commit 80b4a7e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

e2e/test/commands/test/async_main/async_main_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() {
99
test(
1010
'supports async main methods',
1111
timeout: const Timeout(Duration(minutes: 2)),
12-
withRunner((commandRunner, logger, updater, logs) async {
12+
withRunner((commandRunner, logger, updater, logs, progressLogs) async {
1313
final tempDirectory = Directory.systemTemp.createTempSync('async_main');
1414
addTearDown(() => tempDirectory.deleteSync(recursive: true));
1515

e2e/test/commands/test/compilation_error/compilation_error_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() {
99
test(
1010
'fails when there is a compilation error, but does not crash',
1111
timeout: const Timeout(Duration(minutes: 2)),
12-
withRunner((commandRunner, logger, updater, logs) async {
12+
withRunner((commandRunner, logger, updater, logs, progressLogs) async {
1313
final tempDirectory = Directory.systemTemp.createTempSync(
1414
'compilation_error',
1515
);

e2e/test/commands/test/no_project/no_project_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import '../../../../helpers/helpers.dart';
88
void main() {
99
test(
1010
'fails if the project does not exist',
11-
withRunner((commandRunner, logger, updater, logs) async {
11+
withRunner((commandRunner, logger, updater, logs, progressLogs) async {
1212
final tempDirectory = Directory.systemTemp.createTempSync('no_project');
1313
addTearDown(() => tempDirectory.deleteSync(recursive: true));
1414

e2e/test/commands/test/spaced_golden_file_name/spaced_golden_file_name_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void main() {
99
test(
1010
'allows golden files with spaces in the name',
1111
timeout: const Timeout(Duration(minutes: 2)),
12-
withRunner((commandRunner, logger, updater, logs) async {
12+
withRunner((commandRunner, logger, updater, logs, progressLogs) async {
1313
final tempDirectory = Directory.systemTemp.createTempSync('async_main');
1414
addTearDown(() => tempDirectory.deleteSync(recursive: true));
1515

0 commit comments

Comments
 (0)