[Pkg-javascript-commits] [uglifyjs] 08/50: fix test for #1865 (#1873)

Jonas Smedegaard dr at jones.dk
Thu Aug 17 23:06:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository uglifyjs.

commit 90ed54401bef50054dc14a685082f8e208405280
Author: Alex Lam S.L <alexlamsl at gmail.com>
Date:   Sun May 7 02:56:02 2017 +0800

    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 92ec0ea..6726bab 100644
--- a/test/compress/reduce_vars.js
+++ b/test/compress/reduce_vars.js
@@ -2101,8 +2101,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 };
@@ -2111,8 +2111,8 @@ issue_1865: {
         }());
     }
     expect: {
-        function f(a) {
-            a.b = false;
+        function f(some) {
+            some.thing = false;
         }
         console.log(function() {
             var some = { thing: true };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list