From 98cf95e5b5590cd2ecec9fb957f39bc2907c61eb Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 7 May 2017 02:56:02 +0800 Subject: fix test for #1865 (#1873) --- test/compress/reduce_vars.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/compress/reduce_vars.js b/test/compress/reduce_vars.js index 22c1a874..5a79f574 100644 --- a/test/compress/reduce_vars.js +++ b/test/compress/reduce_vars.js @@ -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 }; -- cgit v1.2.3