enhance booleans (#5365)

This commit is contained in:
Alex Lam S.L
2022-02-21 03:02:19 +00:00
committed by GitHub
parent d5afe16bc8
commit dd3b81dec6
6 changed files with 289 additions and 169 deletions

View File

@@ -448,6 +448,23 @@ concat_truthy: {
]
}
process_returns: {
options = {
booleans: true,
}
input: {
(function() {
return 42;
})() && console.log("PASS");
}
expect: {
(function() {
return 42;
})() && console.log("PASS");
}
expect_stdout: "PASS"
}
issue_3465_1: {
options = {
booleans: true,