aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-05-07 02:56:02 +0800
committerGitHub <noreply@github.com>2017-05-07 02:56:02 +0800
commit98cf95e5b5590cd2ecec9fb957f39bc2907c61eb (patch)
treeb938ab704777dae008fa09da3b58edfc3a0a20ef /test
parent7313465cba988d5bdffa6024e9ffad9ae8d4763c (diff)
downloadtracifyjs-98cf95e5b5590cd2ecec9fb957f39bc2907c61eb.tar.gz
tracifyjs-98cf95e5b5590cd2ecec9fb957f39bc2907c61eb.zip
fix test for #1865 (#1873)
Diffstat (limited to 'test')
-rw-r--r--test/compress/reduce_vars.js8
1 files 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 };