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

Unified Diff: tests/compiler/dart2js/diagnostic_reporter_helper.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
« no previous file with comments | « tests/compiler/dart2js/diagnostic_helper.dart ('k') | tests/compiler/dart2js/dictionary_types_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/diagnostic_reporter_helper.dart
diff --git a/tests/compiler/dart2js/diagnostic_reporter_helper.dart b/tests/compiler/dart2js/diagnostic_reporter_helper.dart
index 16ff636323391d6e15e30e753e0c590c00365663..679ef8c7eeb9d187c9f2011be6e6c33137de52e9 100644
--- a/tests/compiler/dart2js/diagnostic_reporter_helper.dart
+++ b/tests/compiler/dart2js/diagnostic_reporter_helper.dart
@@ -15,9 +15,7 @@ abstract class DiagnosticReporterWrapper extends DiagnosticReporter {
DiagnosticReporter get reporter;
@override
- DiagnosticMessage createMessage(
- Spannable spannable,
- MessageKind messageKind,
+ DiagnosticMessage createMessage(Spannable spannable, MessageKind messageKind,
[Map arguments = const {}]) {
return reporter.createMessage(spannable, messageKind, arguments);
}
@@ -36,31 +34,26 @@ abstract class DiagnosticReporterWrapper extends DiagnosticReporter {
DiagnosticOptions get options => reporter.options;
@override
- void reportError(
- DiagnosticMessage message,
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) {
+ void reportError(DiagnosticMessage message,
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) {
reporter.reportError(message, infos);
}
@override
- void reportHint(
- DiagnosticMessage message,
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) {
+ void reportHint(DiagnosticMessage message,
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) {
reporter.reportHint(message, infos);
}
@override
- void reportInfo(
- Spannable node,
- MessageKind errorCode,
+ void reportInfo(Spannable node, MessageKind errorCode,
[Map arguments = const {}]) {
reporter.reportInfo(node, errorCode, arguments);
}
@override
- void reportWarning(
- DiagnosticMessage message,
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) {
+ void reportWarning(DiagnosticMessage message,
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) {
reporter.reportWarning(message, infos);
}
« no previous file with comments | « tests/compiler/dart2js/diagnostic_helper.dart ('k') | tests/compiler/dart2js/dictionary_types_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698