Skip to content

Commit 384ab5e

Browse files
committed
update
1 parent 96b166f commit 384ab5e

4 files changed

Lines changed: 23 additions & 12 deletions

File tree

lib/src/language_support/dart_annotated_class_analyzer.dart

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ final class OnAnnotatedClassParams {
306306
}
307307

308308
typedef TOnAnnotatedClassCallback = Future<dynamic> Function(
309-
OnAnnotatedClassParams parent,);
309+
OnAnnotatedClassParams parent,
310+
);
310311

311312
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
312313

@@ -328,7 +329,8 @@ final class OnClassAnnotationFieldParams {
328329
}
329330

330331
typedef TOnClassAnnotationFieldCallback = Future<dynamic> Function(
331-
OnClassAnnotationFieldParams parent,);
332+
OnClassAnnotationFieldParams parent,
333+
);
332334

333335
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
334336

@@ -348,7 +350,8 @@ final class OnAnnotatedMethodParams {
348350
}
349351

350352
typedef TOnAnnotatedMethodCallback = Future<dynamic> Function(
351-
OnAnnotatedMethodParams parent,);
353+
OnAnnotatedMethodParams parent,
354+
);
352355

353356
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
354357

@@ -370,7 +373,8 @@ final class OnMethodAnnotationFieldParams {
370373
}
371374

372375
typedef TOnMethodAnnotationFieldCallback = Future<dynamic> Function(
373-
OnMethodAnnotationFieldParams parent,);
376+
OnMethodAnnotationFieldParams parent,
377+
);
374378

375379
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
376380

@@ -392,7 +396,8 @@ final class OnAnnotatedMemberParams {
392396
}
393397

394398
typedef TOnAnnotatedMemberCallback = Future<dynamic> Function(
395-
OnAnnotatedMemberParams parent,);
399+
OnAnnotatedMemberParams parent,
400+
);
396401

397402
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
398403

@@ -414,7 +419,8 @@ final class OnMemberAnnotationFieldParams {
414419
}
415420

416421
typedef TOnMemberAnnotationFieldsCallback = Future<dynamic> Function(
417-
OnMemberAnnotationFieldParams parent,);
422+
OnMemberAnnotationFieldParams parent,
423+
);
418424

419425
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
420426

lib/src/path_explorer.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ class PathExplorer {
124124
}
125125
} catch (e) {
126126
Log.printRed(
127-
'PathExplorer.readAll: failed to read ${finding.path} ($e)',);
127+
'PathExplorer.readAll: failed to read ${finding.path} ($e)',
128+
);
128129
}
129130
}
130131
}

lib/src/process_comment_annots.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,7 @@ Future<void> processCommentAnnots({
9393
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
9494

9595
typedef TLineCallback = Future<bool> Function(
96-
int lineNumber, List<String> lines, String filePath,);
96+
int lineNumber,
97+
List<String> lines,
98+
String filePath,
99+
);

test/structures_test.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ void main() {
5757
expect(x.replacements['x'], 1);
5858
});
5959

60-
test('generateWithStatic broadcasts the same replacements to every '
60+
test(
61+
'generateWithStatic broadcasts the same replacements to every '
6162
'insight', () {
6263
final out = Intersection.generateWithStatic<String>(
6364
['a', 'b', 'c'],
@@ -99,8 +100,7 @@ void main() {
99100
expect(taken.first.insight, 'a');
100101
});
101102

102-
test('generateMultiWithDynamic yields per-insight replacements lazily',
103-
() {
103+
test('generateMultiWithDynamic yields per-insight replacements lazily', () {
104104
final iter = Intersection.generateMultiWithDynamic<String>(
105105
['x', 'y'],
106106
(insight) => {'len': insight.length, 'value': insight},
@@ -172,7 +172,8 @@ void main() {
172172
expect(x.category, isNull);
173173
});
174174

175-
test('PerIntersection is a sealed family — pattern match is exhaustive', () {
175+
test('PerIntersection is a sealed family — pattern match is exhaustive',
176+
() {
176177
const samples = [
177178
PerFileIntersection<String>(
178179
sourceFilePathOrUrl: '/a',

0 commit comments

Comments
 (0)