Skip to content

Commit bf1e089

Browse files
committed
chore: applying lint fixes from the new dart version
1 parent 69fe063 commit bf1e089

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

examples/kitchen_sink/test/routes/photos/upload_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void main() {
2626
'file.txt',
2727
ContentType.text,
2828
Stream.fromIterable([[]]),
29-
)
29+
),
3030
},
3131
);
3232
when(request.formData).thenAnswer((_) async => formData);
@@ -47,7 +47,7 @@ void main() {
4747
'picture.png',
4848
ContentType('image', 'png'),
4949
Stream.fromIterable([[]]),
50-
)
50+
),
5151
},
5252
);
5353
when(request.formData).thenAnswer((_) async => formData);

examples/kitchen_sink/test/routes/projects/index_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ void main() {
5858
equals({
5959
'project_configuration': const <String, String>{
6060
'name': 'my_app',
61-
'version': '3.3.8'
62-
}
61+
'version': '3.3.8',
62+
},
6363
}),
6464
),
6565
);

packages/dart_frog_cli/e2e/test/daemon/dev_server_domain_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void main() {
8686
params: {
8787
'workingDirectory': projectDirectory1.path,
8888
'port': project1Server1Port,
89-
'dartVmServicePort': project1Server1Port + 1
89+
'dartVmServicePort': project1Server1Port + 1,
9090
},
9191
),
9292
);
@@ -116,7 +116,7 @@ void main() {
116116
params: {
117117
'workingDirectory': projectDirectory2.path,
118118
'port': project2ServerPort,
119-
'dartVmServicePort': project2ServerPort + 1
119+
'dartVmServicePort': project2ServerPort + 1,
120120
},
121121
),
122122
);

packages/dart_frog_cli/lib/src/commands/create/create.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CreateCommand extends DartFrogCommand {
4444
final generateProgress = logger.progress('Creating $projectName');
4545
final vars = <String, dynamic>{
4646
'name': projectName,
47-
'output_directory': outputDirectory.absolute.path
47+
'output_directory': outputDirectory.absolute.path,
4848
};
4949

5050
logger.detail('[codegen] running generate...');

packages/dart_frog_cli/test/src/commands/dev_server_runner/dev_server_runner_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void main() {
261261
expect(
262262
processRunCalls,
263263
equals([
264-
['taskkill', '/F', '/T', '/PID', '$processId']
264+
['taskkill', '/F', '/T', '/PID', '$processId'],
265265
]),
266266
);
267267
verifyNever(() => process.kill());
@@ -742,7 +742,7 @@ runs codegen with debounce when changes are made to the public or routes directo
742742
expect(
743743
processRunCalls,
744744
equals([
745-
['taskkill', '/F', '/T', '/PID', '$processId']
745+
['taskkill', '/F', '/T', '/PID', '$processId'],
746746
]),
747747
);
748748
verifyNever(() => process.kill());

packages/dart_frog_cli/test/src/commands/new/new_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ void main() {
466466
vars: {
467467
'route_path': '/user/[id]/posts/[post_id]/comments',
468468
'type': 'route',
469-
'dir_path': '${directory.path}/routes/something'
469+
'dir_path': '${directory.path}/routes/something',
470470
},
471471
workingDirectory: any(named: 'workingDirectory'),
472472
onVarsChanged: any(named: 'onVarsChanged'),

packages/dart_frog_web_socket/test/src/web_socket_handler_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Map<String, String> get _handshakeHeaders {
1010
'Upgrade': 'websocket',
1111
'Connection': 'Upgrade',
1212
'Sec-WebSocket-Key': 'x3JJHMbDL1EzLkh9GBhXDw==',
13-
'Sec-WebSocket-Version': '13'
13+
'Sec-WebSocket-Version': '13',
1414
};
1515
}
1616

0 commit comments

Comments
 (0)