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

Unified Diff: tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart

Issue 1563883004: dart2js Rebase a compiler test whose output has changed. (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
diff --git a/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart b/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
index 614a10207346e47ddd6b6e7ebc3791ad6aaf6dda..b8972d992a187155812dd49365c771fe141bf3c0 100644
--- a/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
+++ b/tests/compiler/dart2js/js_backend_cps_ir_basic_test.dart
@@ -25,23 +25,23 @@ main() {
print('($m)');
}""",r"""
function() {
- var l = [1, 2, 3], m = P.LinkedHashMap_LinkedHashMap$_literal(["s", 1]), value_ = C.JSArray_methods, res, v0, v1;
+ var l = [1, 2, 3], m = P.LinkedHashMap_LinkedHashMap$_literal(["s", 1]), v0, v1;
P.print("()");
P.print("(true)");
P.print("(1)");
- if (!(typeof (res = value_.toString$0(v0 = [1, 2, 3])) === "string"))
- throw H.wrapException(H.argumentErrorValue(v0));
- P.print("(" + res + ")");
- if (!(typeof (v1 = P.Maps_mapToString(v0 = P.LinkedHashMap_LinkedHashMap$_literal(["s", 1]))) === "string"))
- throw H.wrapException(H.argumentErrorValue(v0));
- P.print("(" + v1 + ")");
+ if (!(typeof (v0 = P.IterableBase_iterableToFullString(v1 = [1, 2, 3], "[", "]")) === "string"))
+ throw H.wrapException(H.argumentErrorValue(v1));
+ P.print("(" + v0 + ")");
+ if (!(typeof (v0 = P.Maps_mapToString(v1 = P.LinkedHashMap_LinkedHashMap$_literal(["s", 1]))) === "string"))
+ throw H.wrapException(H.argumentErrorValue(v1));
+ P.print("(" + v0 + ")");
P.print("(1)");
- if (!(typeof (res = value_.toString$0(l)) === "string"))
+ if (!(typeof (v1 = P.IterableBase_iterableToFullString(l, "[", "]")) === "string"))
throw H.wrapException(H.argumentErrorValue(l));
- P.print("(" + res + ")");
- if (!(typeof (v0 = P.Maps_mapToString(m)) === "string"))
+ P.print("(" + v1 + ")");
+ if (!(typeof (v1 = P.Maps_mapToString(m)) === "string"))
throw H.wrapException(H.argumentErrorValue(m));
- P.print("(" + v0 + ")");
+ P.print("(" + v1 + ")");
}"""),
const TestEntry("""
foo(a, [b = "b"]) { print(b); return b; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698