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

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

Issue 562333002: Issue 17024. Quick Fix to find imported library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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/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 b4a7c9db099f8fbe783a7b2fe81aee2b2159e311..be91abda9e747b33599e7d56152db747407b2145 100644
--- a/pkg/analysis_server/test/services/correction/assist_test.dart
+++ b/pkg/analysis_server/test/services/correction/assist_test.dart
@@ -911,6 +911,13 @@ import 'dart:math';
assertNoAssistAt('import ', AssistKind.IMPORT_ADD_SHOW);
}
+ void test_importAddShow_BAD_unresolvedUri() {
+ _indexTestUnit('''
+import '/no/such/lib.dart';
+''');
+ assertNoAssistAt('import ', AssistKind.IMPORT_ADD_SHOW);
+ }
+
void test_importAddShow_OK_hasUnresolvedIdentifier() {
_indexTestUnit('''
import 'dart:math';

Powered by Google App Engine
This is Rietveld 408576698