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

Unified Diff: pkg/analyzer/test/src/dart/analysis/driver_test.dart

Issue 2709633009: Always return computed errors, even for not added files. (Closed)
Patch Set: Created 3 years, 10 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/dart/analysis/driver.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/dart/analysis/driver_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/driver_test.dart b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
index 7bd4dcec793f05dacf52c28ee11f55b33fe7ca3a..79e551fb2d420bb234117154b3c4e7f60f5d5fbd 100644
--- a/pkg/analyzer/test/src/dart/analysis/driver_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/driver_test.dart
@@ -1317,14 +1317,6 @@ var V;
await driver.getResult(testFile);
}
- test_getResult_noErrors_ifNotAdded() async {
- var a = _p('/test/lib/a.dart');
- provider.newFile(a, 'A a = null;');
-
- AnalysisResult result = await driver.getResult(a);
- expect(result.errors, isEmpty);
- }
-
test_getResult_notDartFile() async {
var path = _p('/test/lib/test.txt');
provider.newFile(path, 'class A {}');
« no previous file with comments | « pkg/analyzer/lib/src/dart/analysis/driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698