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

Unified Diff: pkg/analysis_server/test/analysis/get_errors_test.dart

Issue 878353002: Revert 43227 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/analysis/get_errors_test.dart
diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart
index c2184d48a4a59c288150f651380f68e0fef1e7c3..eb66da4e0f43c487a25367f0f31ee374a809e39d 100644
--- a/pkg/analysis_server/test/analysis/get_errors_test.dart
+++ b/pkg/analysis_server/test/analysis/get_errors_test.dart
@@ -32,19 +32,18 @@ class GetErrorsTest extends AbstractAnalysisTest {
createProject();
}
- // TODO (danrubel) investigate why this is failing
-// test_afterAnalysisComplete() {
-// addTestFile('''
-//main() {
-// print(42)
-//}
-//''');
-// return waitForTasksFinished().then((_) {
-// return _getErrors(testFile).then((List<AnalysisError> errors) {
-// expect(errors, hasLength(1));
-// });
-// });
-// }
+ test_afterAnalysisComplete() {
+ addTestFile('''
+main() {
+ print(42)
+}
+''');
+ return waitForTasksFinished().then((_) {
+ return _getErrors(testFile).then((List<AnalysisError> errors) {
+ expect(errors, hasLength(1));
+ });
+ });
+ }
test_fileDoesNotExist() {
String file = '$projectPath/doesNotExist.dart';
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698