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

Unified Diff: pkg/analyzer/test/src/context/context_test.dart

Issue 1372433003: Remove CompilationUnit name requirement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « pkg/analyzer/lib/src/context/context.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/src/context/context_test.dart
diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
index a4980305c99c871c1c0a33de38805b96e4c90159..734c1b204287bfaca6ae581e1f7145a6ff5cd51d 100644
--- a/pkg/analyzer/test/src/context/context_test.dart
+++ b/pkg/analyzer/test/src/context/context_test.dart
@@ -1254,13 +1254,6 @@ main() {}''');
expect(context.getResolvedCompilationUnit2(source, source), isNotNull);
}
- void test_getResolvedCompilationUnit_source_html() {
- Source source = addSource("/test.html", "<html></html>");
- expect(context.getResolvedCompilationUnit2(source, source), isNull);
- expect(context.resolveCompilationUnit2(source, source), isNull);
- expect(context.getResolvedCompilationUnit2(source, source), isNull);
- }
-
void test_getSourceFactory() {
expect(context.sourceFactory, same(sourceFactory));
}
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698