Skip to content

Commit 7e7a77a

Browse files
committed
fixed linting errors
1 parent ef49d38 commit 7e7a77a

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

dwds/test/fixtures/context.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ class TestContext {
394394
buildSettings,
395395
).strategy,
396396
_ => throw Exception(
397-
'Unsupported DDC module format ${testSettings.moduleFormat.name}.',
397+
'Unsupported DDC module format '
398+
'${testSettings.moduleFormat.name}.',
398399
),
399400
};
400401
buildResults = const Stream<BuildResults>.empty();

dwds/test/frontend_server_callstack_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void main() {
3030
setUpAll(() async {
3131
setCurrentLogWriter(debug: debug);
3232
await context.setUp(
33-
testSettings: TestSettings(
33+
testSettings: const TestSettings(
3434
compilationMode: CompilationMode.frontendServer,
3535
enableExpressionEvaluation: true,
3636
verboseCompiler: debug,

dwds/test/handlers/asset_handler_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void main() {
2222
setUpAll(() async {
2323
setCurrentLogWriter();
2424
await context.setUp(
25-
testSettings: TestSettings(
25+
testSettings: const TestSettings(
2626
enableExpressionEvaluation: true,
2727
verboseCompiler: false,
2828
),

dwds/test/handlers/injector_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ void main() {
311311
late DwdsInjector injector;
312312
setUp(() async {
313313
final toolConfiguration = TestToolConfiguration.withDefaultLoadStrategy(
314-
debugSettings: TestDebugSettings.noDevToolsLaunch().copyWith(
314+
debugSettings: const TestDebugSettings.noDevToolsLaunch().copyWith(
315315
useSse: false,
316316
),
317317
);

dwds/test/hot_reload_breakpoints_test.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void main() {
4747
setUp(() async {
4848
setCurrentLogWriter(debug: debug);
4949
await context.setUp(
50-
testSettings: TestSettings(
50+
testSettings: const TestSettings(
5151
enableExpressionEvaluation: true,
5252
compilationMode: CompilationMode.frontendServer,
5353
moduleFormat: ModuleFormat.ddc,
@@ -523,15 +523,15 @@ void main() {
523523
// the old string still as the closure has not been reevaluated.
524524
await callEvaluateAndWaitForLog(oldCapturedString);
525525
});
526-
}, timeout: Timeout.factor(2));
526+
}, timeout: const Timeout.factor(2));
527527

528528
group('when pause_isolates_on_start is false', () {
529529
late VmService client;
530530

531531
setUp(() async {
532532
setCurrentLogWriter(debug: debug);
533533
await context.setUp(
534-
testSettings: TestSettings(
534+
testSettings: const TestSettings(
535535
enableExpressionEvaluation: true,
536536
compilationMode: CompilationMode.frontendServer,
537537
moduleFormat: ModuleFormat.ddc,
@@ -590,7 +590,7 @@ void main() {
590590
// Program should not be paused, so this should execute.
591591
await callEvaluateAndWaitForLog(newString);
592592
});
593-
}, timeout: Timeout.factor(2));
593+
}, timeout: const Timeout.factor(2));
594594
}
595595

596596
TypeMatcher<Event> _hasKind(String kind) =>

0 commit comments

Comments
 (0)