Skip to content

Commit 4c5397c

Browse files
style: dart format (fixes CI 'Verify formatting' job)
The last CI run (May) failed only on the format check; two files were unformatted — test/setup_cli_integration_test.dart (pre-existing) and the new cancellation invariant test. `dart format --set-exit-if-changed` now passes clean, clearing the one blocker that made ci.yml red.
1 parent d667ece commit 4c5397c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/setup_cli_integration_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ void main() {
66
// Absolute path to the CLI entrypoint. The tests run the CLI with
77
// workingDirectory set to a temp mock project, so a relative 'bin/setup.dart'
88
// would resolve against the temp dir and fail with "Could not find file".
9-
final setupScript =
10-
path.join(Directory.current.path, 'bin', 'setup.dart');
9+
final setupScript = path.join(Directory.current.path, 'bin', 'setup.dart');
1110

1211
late Directory tempDir;
1312
late File infoPlist;

test/unit/cancellation_rethrow_invariant_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ void main() {
8383
});
8484
}
8585

86-
test('the invariant list matches the workers directory (no new worker '
86+
test(
87+
'the invariant list matches the workers directory (no new worker '
8788
'silently skips the check)', () {
8889
// Not every worker needs the rethrow — some have no local catch and
8990
// correctly rely on BaseKmpWorker, and WebSocketWorker uses try/finally.

0 commit comments

Comments
 (0)