enable parse test now that dart2js generates correct format
R=sigmund@google.com
Review URL: https://codereview.chromium.org//2383943002 .
diff --git a/test/hello_world/hello_world.js.info.json b/test/hello_world/hello_world.js.info.json
index dafb598..33eacf6 100644
--- a/test/hello_world/hello_world.js.info.json
+++ b/test/hello_world/hello_world.js.info.json
@@ -1852,17 +1852,17 @@
]
}
],
- "dump_version": 3,
+ "dump_version": 4,
"deferredFiles": {},
- "dump_minor_version": "6",
+ "dump_minor_version": "0",
"program": {
"entrypoint": "function/0",
"size": 10124,
"dart2jsVersion": null,
- "compilationMoment": "2016-09-30 13:44:11.847439",
- "compilationDuration": "0:00:03.717112",
- "toJsonDuration": 4,
- "dumpInfoDuration": "0",
+ "compilationMoment": "2016-09-30 16:14:58.038530",
+ "compilationDuration": 2726976,
+ "toJsonDuration": 4000,
+ "dumpInfoDuration": 0,
"noSuchMethodEnabled": false,
"minified": false
}
diff --git a/test/parse_test.dart b/test/parse_test.dart
index d51f113..ead1701 100644
--- a/test/parse_test.dart
+++ b/test/parse_test.dart
@@ -21,11 +21,12 @@
expect(program.entrypoint, isNotNull);
expect(program.size, 10124);
expect(program.compilationMoment,
- DateTime.parse("2016-09-30 13:44:11.847439"));
- expect(program.compilationDuration,
- new Duration(seconds: 3, microseconds: 717112));
+ DateTime.parse("2016-09-30 16:14:58.038530"));
+ expect(program.compilationDuration, new Duration(microseconds: 2726976));
+ expect(program.toJsonDuration, new Duration(milliseconds: 4));
+ expect(program.dumpInfoDuration, new Duration(seconds: 0));
expect(program.noSuchMethodEnabled, false);
expect(program.minified, false);
- }, skip: "need to update dart2js first");
+ });
});
}