| Index: tests/compiler/dart2js/cps_ir/expected/basic_15.js
|
| diff --git a/tests/compiler/dart2js/cps_ir/expected/basic_15.js b/tests/compiler/dart2js/cps_ir/expected/basic_15.js
|
| index ea866094258e9eb1ef82420abc1af88be393d31c..92ba7b07b7a5beafafd3d0768285c57588a2cb51 100644
|
| --- a/tests/compiler/dart2js/cps_ir/expected/basic_15.js
|
| +++ b/tests/compiler/dart2js/cps_ir/expected/basic_15.js
|
| @@ -3,14 +3,13 @@
|
| // main() { foo = 42; }
|
|
|
| function() {
|
| - var line = "" + 42;
|
| if (typeof dartPrint == "function")
|
| - dartPrint(line);
|
| + dartPrint("42");
|
| else if (typeof console == "object" && typeof console.log != "undefined")
|
| - console.log(line);
|
| + console.log("42");
|
| else if (!(typeof window == "object")) {
|
| if (!(typeof print == "function"))
|
| - throw "Unable to print message: " + String(line);
|
| - print(line);
|
| + throw "Unable to print message: " + String("42");
|
| + print("42");
|
| }
|
| }
|
|
|