Skip to content

Commit a3b8d81

Browse files
committed
fix analysis warning
1 parent 3d26766 commit a3b8d81

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

bricks/dart_frog_prod_server/hooks/test/src/disable_workspace_resolution_test.dart

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,15 @@ void main() {
3838
final buildDirectoryContents = buildDirectory.listSync();
3939
expect(buildDirectoryContents, hasLength(1));
4040
final pubspecOverrides = buildDirectoryContents.first as File;
41-
expect(pubspecOverrides.readAsStringSync(), equals('''
41+
expect(
42+
pubspecOverrides.readAsStringSync(),
43+
equals(
44+
'''
4245
4346
resolution: null
44-
'''));
47+
''',
48+
),
49+
);
4550
});
4651
});
4752

@@ -65,10 +70,15 @@ dependency_overrides:
6570
final buildDirectoryContents = buildDirectory.listSync();
6671
expect(buildDirectoryContents, hasLength(1));
6772
final pubspecOverrides = buildDirectoryContents.first as File;
68-
expect(pubspecOverrides.readAsStringSync(), equals('''
73+
expect(
74+
pubspecOverrides.readAsStringSync(),
75+
equals(
76+
'''
6977
$originalPubspecOverridesContent
7078
resolution: null
71-
'''));
79+
''',
80+
),
81+
);
7282
});
7383
});
7484

packages/dart_frog_cli/lib/src/commands/build/templates/dart_frog_prod_server_bundle.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)