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

Side by Side Diff: test/codegen/expect/map_keys.js

Issue 1013223002: coverage: increase coverage of js_codegen (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
1 var map_keys;
2 (function(exports) {
3 'use strict';
4 // Function main: () → dynamic
5 function main() {
6 core.print(dart.map({'1': 2, '3': 4, '5': 6}));
7 core.print(dart.map([1, 2, 3, 4, 5, 6]));
8 core.print(dart.map({'1': 2, [`${dart.notNull(new math.Random().nextInt(2)) + 2}`]: 4, '5': 6}));
9 let x = '3';
10 core.print(dart.map(['1', 2, x, 4, '5', 6]));
11 core.print(dart.map(['1', 2, null, 4, '5', 6]));
12 }
13 // Exports:
14 exports.main = main;
15 })(map_keys || (map_keys = {}));
16 //# sourceMappingURL=map_keys.js.map
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698