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

Unified Diff: tools/testing/dart/html_test.dart

Issue 1859973002: Autoformat tools/testing/dart (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Format whole directory Created 4 years, 8 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 | « tools/testing/dart/drt_updater.dart ('k') | tools/testing/dart/http_server.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/html_test.dart
diff --git a/tools/testing/dart/html_test.dart b/tools/testing/dart/html_test.dart
index 0f69eed460f813b130177bf2cea37df5bce32341..dfa555ffb03449c70e808337c26a7a7ba58a1c1f 100644
--- a/tools/testing/dart/html_test.dart
+++ b/tools/testing/dart/html_test.dart
@@ -31,15 +31,15 @@ HtmlTestInformation getInformation(String filename) {
var match = htmlAnnotation.firstMatch(contents);
if (match == null) return null;
var annotation = JSON.decode(match[1]);
- if (annotation is! Map || annotation['expectedMessages'] is! List ||
+ if (annotation is! Map ||
+ annotation['expectedMessages'] is! List ||
annotation['scripts'] is! List) {
DebugLogger.warning("File $filename does not have expected annotation."
" Should have {'scripts':[...], 'expectedMessages':[...]}");
return null;
}
return new HtmlTestInformation(new Path(filename),
- annotation['expectedMessages'],
- annotation['scripts']);
+ annotation['expectedMessages'], annotation['scripts']);
}
String getContents(HtmlTestInformation info, bool compileToJS) {
« no previous file with comments | « tools/testing/dart/drt_updater.dart ('k') | tools/testing/dart/http_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698