Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Commit

Permalink
enable parse test now that dart2js generates correct format
Browse files Browse the repository at this point in the history
R=sigmund@google.com

Review URL: https://codereview.chromium.org//2383943002 .
  • Loading branch information
harryterkelsen committed Sep 30, 2016
1 parent c0556de commit 8c4b4f6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions test/hello_world/hello_world.js.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
9 changes: 5 additions & 4 deletions test/parse_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
});
}

0 comments on commit 8c4b4f6

Please sign in to comment.