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

Unified Diff: test/parse_test.dart

Issue 2383943002: enable parse test now that dart2js generates correct format (Closed)
Patch Set: 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 | « test/hello_world/hello_world.js.info.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/parse_test.dart
diff --git a/test/parse_test.dart b/test/parse_test.dart
index d51f1131708159844959c505f1c32ccfa2c013a4..ead1701072fc95d97be5b7e9d58f3fe96b99f98f 100644
--- a/test/parse_test.dart
+++ b/test/parse_test.dart
@@ -21,11 +21,12 @@ main() {
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");
+ });
});
}
« no previous file with comments | « test/hello_world/hello_world.js.info.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698