| 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) {
|
|
|