| Index: tests/compiler/dart2js/cps_ir/expected/constructor_13.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/constructor_13.js b/tests/compiler/dart2js/cps_ir/expected/constructor_13.js
|
| index 074cf69c452b031dd17b6a60ba926f8ebac07499..a95670c09ff993a51577da13fde5437050d69490 100644
|
| --- a/tests/compiler/dart2js/cps_ir/expected/constructor_13.js
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/constructor_13.js
|
| @@ -9,14 +9,14 @@
|
| // }
|
|
|
| function() {
|
| - var res = "Instance of '" + H.Primitives_objectTypeName(new V.Foo(5)) + "'";
|
| + var line = "Instance of '" + H.Primitives_objectTypeName(new V.Foo(5)) + "'";
|
| if (typeof dartPrint == "function")
|
| - dartPrint(res);
|
| + dartPrint(line);
|
| else if (typeof console == "object" && typeof console.log != "undefined")
|
| - console.log(res);
|
| + console.log(line);
|
| else if (!(typeof window == "object")) {
|
| if (!(typeof print == "function"))
|
| - throw "Unable to print message: " + String(res);
|
| - print(res);
|
| + throw "Unable to print message: " + String(line);
|
| + print(line);
|
| }
|
| }
|
|
|