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

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

Issue 2955913002: Fixes and tests for adding library imports. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/fix_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/services/correction/assist_test.dart
diff --git a/pkg/analysis_server/test/services/correction/assist_test.dart b/pkg/analysis_server/test/services/correction/assist_test.dart
index 3924325c137a8bdc7e0195102707c49387f3c904..723dfd632c3660f5a493f8eef794b0131e29d5f4 100644
--- a/pkg/analysis_server/test/services/correction/assist_test.dart
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart
@@ -335,6 +335,7 @@ main() {
DartAssistKind.ADD_TYPE_ANNOTATION,
'''
import 'dart:async';
+
import 'my_lib.dart';
main() {
for (Future<int> future in getFutures()) {
@@ -484,6 +485,7 @@ main() {
DartAssistKind.ADD_TYPE_ANNOTATION,
'''
import 'dart:async';
+
import 'my_lib.dart';
main() {
Future<int> v = getFutureInt();
@@ -529,6 +531,7 @@ main() {
'''
library my_app;
import 'dart:async';
+
import 'my_lib.dart';
part 'test.dart';
''');
« no previous file with comments | « no previous file | pkg/analysis_server/test/services/correction/fix_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698