aboutsummaryrefslogtreecommitdiff
path: root/test/compress/classes.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/classes.js')
-rw-r--r--test/compress/classes.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/compress/classes.js b/test/compress/classes.js
index 82c6f30e..93819bfa 100644
--- a/test/compress/classes.js
+++ b/test/compress/classes.js
@@ -620,11 +620,10 @@ collapse_rhs: {
expect: {
"use strict";
var a = "FAIL";
- a = "PASS";
class A {
p = "PASS";
}
- console.log(a);
+ console.log(a = "PASS");
}
expect_stdout: "PASS"
node_version: ">=12"