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

Unified Diff: pkg/analyzer/test/generated/resolver_test.dart

Issue 641883002: Remove PUB_SUGGESTION error type from analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/resolver_test.dart
diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
index d0500fa6072b1ef3fa758a0c97c0f34ee895fcac..230aecb8a7dbfedebb3fa2e5fa3b8478bc5fbf53 100644
--- a/pkg/analyzer/test/generated/resolver_test.dart
+++ b/pkg/analyzer/test/generated/resolver_test.dart
@@ -13683,7 +13683,7 @@ class PubSuggestionCodeTest extends ResolverTestCase {
resolve(source);
assertErrors(source, [
CompileTimeErrorCode.URI_DOES_NOT_EXIST,
- PubSuggestionCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT]);
+ HintCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT]);
}
void test_import_packageWithLeadingDotDot() {
@@ -13691,7 +13691,7 @@ class PubSuggestionCodeTest extends ResolverTestCase {
resolve(source);
assertErrors(source, [
CompileTimeErrorCode.URI_DOES_NOT_EXIST,
- PubSuggestionCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT]);
+ HintCode.PACKAGE_IMPORT_CONTAINS_DOT_DOT]);
}
void test_import_referenceIntoLibDirectory() {
@@ -13699,7 +13699,7 @@ class PubSuggestionCodeTest extends ResolverTestCase {
cacheSource("/myproj/lib/other.dart", "");
Source source = addNamedSource("/myproj/web/test.dart", EngineTestCase.createSource(["import '../lib/other.dart';"]));
resolve(source);
- assertErrors(source, [PubSuggestionCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE]);
+ assertErrors(source, [HintCode.FILE_IMPORT_OUTSIDE_LIB_REFERENCES_FILE_INSIDE]);
}
void test_import_referenceIntoLibDirectory_no_pubspec() {
@@ -13714,7 +13714,7 @@ class PubSuggestionCodeTest extends ResolverTestCase {
cacheSource("/myproj/web/other.dart", "");
Source source = addNamedSource("/myproj/lib/test.dart", EngineTestCase.createSource(["import '../web/other.dart';"]));
resolve(source);
- assertErrors(source, [PubSuggestionCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE]);
+ assertErrors(source, [HintCode.FILE_IMPORT_INSIDE_LIB_REFERENCES_FILE_OUTSIDE]);
}
void test_import_referenceOutOfLibDirectory_no_pubspec() {
« no previous file with comments | « pkg/analyzer/lib/src/generated/resolver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698