Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiosantoscode committed Sep 25, 2021
1 parent ecb869e commit afc38a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion test/compress/dead-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,9 @@ issue_1029_6: {
function fn() {
let val
return val = function() {
setTimeout(() => console.log(val));
setTimeout(() => {
(() => console.log(val))();
})
return {};
}();
}
Expand Down
6 changes: 3 additions & 3 deletions test/compress/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -947,8 +947,8 @@ export_object_property_mangle_2: {
export { o };
}
expect: {
const o = null;
const n = {o: o};
export {n as o};
const n = null;
const o = {o: n};
export {o};
}
}

0 comments on commit afc38a2

Please sign in to comment.