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

Unified Diff: pkg/analysis_server/test/abstract_single_unit.dart

Issue 2746333008: Run dartfmt on dart2js codebase. (Closed)
Patch Set: Format all analyzer packages Created 3 years, 9 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/abstract_single_unit.dart
diff --git a/pkg/analysis_server/test/abstract_single_unit.dart b/pkg/analysis_server/test/abstract_single_unit.dart
index b5154761d7cb7a8ba82e0542dce26e2b48ef7e83..69d9331ceed0441810c740104881bc88adbddae1 100644
--- a/pkg/analysis_server/test/abstract_single_unit.dart
+++ b/pkg/analysis_server/test/abstract_single_unit.dart
@@ -102,9 +102,8 @@ class AbstractSingleUnitTest extends AbstractContextTest {
testUnit = (result).unit;
if (verifyNoTestUnitErrors) {
expect(result.errors.where((AnalysisError error) {
- return
- error.errorCode != HintCode.DEAD_CODE &&
- error.errorCode != HintCode.UNUSED_CATCH_CLAUSE &&
+ return error.errorCode != HintCode.DEAD_CODE &&
+ error.errorCode != HintCode.UNUSED_CATCH_CLAUSE &&
error.errorCode != HintCode.UNUSED_CATCH_STACK &&
error.errorCode != HintCode.UNUSED_ELEMENT &&
error.errorCode != HintCode.UNUSED_FIELD &&

Powered by Google App Engine
This is Rietveld 408576698