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

Unified Diff: tests/compiler/dart2js/analyze_dart2js_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 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
Index: tests/compiler/dart2js/analyze_dart2js_test.dart
diff --git a/tests/compiler/dart2js/analyze_dart2js_test.dart b/tests/compiler/dart2js/analyze_dart2js_test.dart
index f5fc77c444a429e7b0daeabe97ae7e4cd06d9407..1b1736f59acc6213a4ef1c3119041fdfd0f0bae7 100644
--- a/tests/compiler/dart2js/analyze_dart2js_test.dart
+++ b/tests/compiler/dart2js/analyze_dart2js_test.dart
@@ -21,16 +21,14 @@ import 'related_types.dart';
*/
// TODO(johnniwinther): Support canonical URIs as keys and message kinds as
// values.
-const Map<String,List<String>> WHITE_LIST = const {
-};
+const Map<String, List<String>> WHITE_LIST = const {};
void main() {
var uri = currentDirectory.resolve('pkg/compiler/lib/src/dart2js.dart');
asyncTest(() => analyze([uri], WHITE_LIST, checkResults: checkResults));
}
-bool checkResults(Compiler compiler,
- CollectingDiagnosticHandler handler) {
+bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) {
checkRelatedTypes(compiler);
return !handler.hasHint;
-}
+}
« no previous file with comments | « tests/compiler/dart2js/analyze_dart2js_helpers_test.dart ('k') | tests/compiler/dart2js/analyze_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698