fix expect_stdout (#1642)

`compress()` may modify input ASTs

add tests for #1627 & #1640
This commit is contained in:
Alex Lam S.L
2017-03-24 13:19:50 +08:00
committed by GitHub
parent 79334dda10
commit 701035621d
6 changed files with 81 additions and 23 deletions

View File

@@ -0,0 +1 @@
console.log(1 || 5--);

View File

@@ -0,0 +1 @@
console.log(2 || (Math.random() /= 2));

View File

@@ -0,0 +1 @@
console.log(3 || ++this);