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

Jonas Smedegaard dr at jones.dk
Wed Feb 14 19:51:19 UTC 2018


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

js pushed a commit to annotated tag debian/3.3.10-1
in repository uglifyjs.

commit 98cf95e5b5590cd2ecec9fb957f39bc2907c61eb
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 22c1a87..5a79f57 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 };

-- 
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