fix test for #1865 (#1873)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sat, 6 May 2017 18:56:02 +0000 (02:56 +0800)
committerGitHub <noreply@github.com>
Sat, 6 May 2017 18:56:02 +0000 (02:56 +0800)
test/compress/reduce_vars.js

index 22c1a87..5a79f57 100644 (file)
@@ -2440,8 +2440,8 @@ issue_1865: {
         unsafe: true,
     }
     input: {
-        function f(a) {
-            a.b = false;
+        function f(some) {
+            some.thing = false;
         }
         console.log(function() {
             var some = { thing: true };
@@ -2450,8 +2450,8 @@ issue_1865: {
         }());
     }
     expect: {
-        function f(a) {
-            a.b = false;
+        function f(some) {
+            some.thing = false;
         }
         console.log(function() {
             var some = { thing: true };