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

Unified Diff: tests/compiler/dart2js/cps_ir/expected/basic_1.js

Issue 1576093003: cpsir unittests: move all unittests into individual files and test runners. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: tests/compiler/dart2js/cps_ir/expected/basic_1.js
diff --git a/tests/compiler/dart2js/cps_ir/expected/basic_1.js b/tests/compiler/dart2js/cps_ir/expected/basic_1.js
new file mode 100644
index 0000000000000000000000000000000000000000..1cf4ed51f3e1a428146dbc8c554990e3043571d0
--- /dev/null
+++ b/tests/compiler/dart2js/cps_ir/expected/basic_1.js
@@ -0,0 +1,27 @@
+// Expectation for test:
+// main() {
+// var e = 1;
+// var l = [1, 2, 3];
+// var m = {'s': 1};
+//
+// print('(' ')');
+// print('(${true})');
+// print('(${1})');
+// print('(${[1, 2, 3]})');
+// print('(${{'s': 1}})');
+// print('($e)');
+// print('($l)');
+// print('($m)');
+// }
+
+function() {
+ var l = [1, 2, 3], m = P.LinkedHashMap_LinkedHashMap$_literal(["s", 1]);
+ P.print("()");
+ P.print("(true)");
+ P.print("(1)");
+ P.print("(" + P.IterableBase_iterableToFullString([1, 2, 3], "[", "]") + ")");
+ P.print("(" + P.Maps_mapToString(P.LinkedHashMap_LinkedHashMap$_literal(["s", 1])) + ")");
+ P.print("(1)");
+ P.print("(" + P.IterableBase_iterableToFullString(l, "[", "]") + ")");
+ P.print("(" + P.Maps_mapToString(m) + ")");
+}

Powered by Google App Engine
This is Rietveld 408576698