Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: pkg/analysis_server/test/services/correction/fix_test.dart

Issue 2650803005: Make Analysis Server tests use MockSdk again. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/test/services/correction/fix_test.dart
diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
index 753c685f6e2806970692865cab48355cf38f0d08..c90e147250a6a7bffde1347d847a22f5a686dacd 100644
--- a/pkg/analysis_server/test/services/correction/fix_test.dart
+++ b/pkg/analysis_server/test/services/correction/fix_test.dart
@@ -4287,12 +4287,8 @@ void process(List<int> items) {
_assertLinkedGroup(
change.linkedEditGroups[2],
['List<int> items) {'],
- expectedSuggestions(LinkedEditSuggestionKind.TYPE, [
- 'List<int>',
- 'EfficientLengthIterable<int>',
- 'Iterable<int>',
- 'Object'
- ]));
+ expectedSuggestions(LinkedEditSuggestionKind.TYPE,
+ ['List<int>', 'Iterable<int>', 'Object']));
}
test_undefinedFunction_create_importType() async {
@@ -4931,7 +4927,7 @@ class A {
change.linkedEditGroups[index++],
['String s'],
expectedSuggestions(LinkedEditSuggestionKind.TYPE,
- ['String', 'Object', 'Comparable<String>', 'Pattern']));
+ ['String', 'Object', 'Comparable<String>']));
_assertLinkedGroup(change.linkedEditGroups[index++], ['s)']);
}
@@ -4975,7 +4971,7 @@ class A {
change.linkedEditGroups[index++],
['String ccc'],
expectedSuggestions(LinkedEditSuggestionKind.TYPE,
- ['String', 'Object', 'Comparable<String>', 'Pattern']));
+ ['String', 'Object', 'Comparable<String>']));
}
test_undefinedMethod_createUnqualified_returnType() async {

Powered by Google App Engine
This is Rietveld 408576698