aboutsummaryrefslogtreecommitdiff
path: root/test/compress/negate-iife.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/negate-iife.js')
-rw-r--r--test/compress/negate-iife.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compress/negate-iife.js b/test/compress/negate-iife.js
index 0362ffce..89c3f064 100644
--- a/test/compress/negate-iife.js
+++ b/test/compress/negate-iife.js
@@ -60,16 +60,16 @@ negate_iife_4: {
};
input: {
if ((function(){ return true })()) {
- console.log(true);
+ foo(true);
} else {
- console.log(false);
+ bar(false);
}
(function(){
console.log("something");
})();
}
expect: {
- !function(){ return true }() ? console.log(false) : console.log(true), function(){
+ !function(){ return true }() ? bar(false) : foo(true), function(){
console.log("something");
}();
}