Skip to content

Commit ed9112e

Browse files
stereotype441commit-bot@chromium.org
authored andcommitted
Sort declarations in api_test.dart
Change-Id: Ibe2b078f6a38a79d304ad81b1625c72a65fe53c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151320 Commit-Queue: Paul Berry <[email protected]> Reviewed-by: Samuel Rawlins <[email protected]>
1 parent a9bb706 commit ed9112e

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

pkg/nnbd_migration/test/api_test.dart

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -207,22 +207,6 @@ void test(C c) {
207207
await _checkSingleFileChanges(content, expected);
208208
}
209209

210-
@FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/42327')
211-
// When fixing this issue, probably convert this to an edge builder test.
212-
Future<void> test_migratedMethod_namedParameter() async {
213-
var content = '''
214-
void f(Iterable<int> a) {
215-
a.toList(growable: false);
216-
}
217-
''';
218-
var expected = '''
219-
void f(Iterable<int> a) {
220-
a.toList(growable: false);
221-
}
222-
''';
223-
await _checkSingleFileChanges(content, expected);
224-
}
225-
226210
Future<void> test_add_required() async {
227211
var content = '''
228212
int f({String s}) => s.length;
@@ -4138,6 +4122,22 @@ int f() =>
41384122
await _checkSingleFileChanges(content, expected);
41394123
}
41404124

4125+
@FailingTest(issue: 'https://github.com/dart-lang/sdk/issues/42327')
4126+
// When fixing this issue, probably convert this to an edge builder test.
4127+
Future<void> test_migratedMethod_namedParameter() async {
4128+
var content = '''
4129+
void f(Iterable<int> a) {
4130+
a.toList(growable: false);
4131+
}
4132+
''';
4133+
var expected = '''
4134+
void f(Iterable<int> a) {
4135+
a.toList(growable: false);
4136+
}
4137+
''';
4138+
await _checkSingleFileChanges(content, expected);
4139+
}
4140+
41414141
Future<void> test_multiDeclaration_innerUsage() async {
41424142
var content = '''
41434143
void test() {

0 commit comments

Comments
 (0)