Skip to content

Commit 3d87335

Browse files
authored
Fix for the repo presubmits to pass with the recent Flutter stable SDK version (#85)
Update the DAS tests to have the tests in `DartServerQuickFixTest.java` pass with the recent
1 parent e1a11d3 commit 3d87335

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

third_party/src/test/java/com/jetbrains/dart/analysisServer/DartServerQuickFixTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class A{\r
132132
\s
133133
134134
class A{
135-
List<caret> bar(int i, bool bool, String s) {}
135+
List<dynamic><caret> bar(int i, bool bool, String s) {}
136136
}
137137
foo() {
138138
List a = new A().bar(1, true, '');
@@ -162,7 +162,7 @@ class A{\r
162162
List a = new A().bar(1, true, '');
163163
}
164164
class A{
165-
List<caret> bar(int i, bool bool, String s) {}
165+
List<dynamic><caret> bar(int i, bool bool, String s) {}
166166
}""";
167167
doCrLfAwareTest(content, "Create method", after);
168168
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
part of foo;
22

33
class Bar {
4-
Iterable<caret> doSomething(bool bool, int i, double d, String s, List<int> list, Map<int, int> map, Symbol symbol, param7) {}
4+
Iterable<dynamic><caret> doSomething(bool bool, int i, double d, String s, List<int> list, Map<int, int> map, Symbol symbol, param7) {}
55
}

0 commit comments

Comments
 (0)