labels_1: { options = { conditionals: true, dead_code: true, if_return: true, } input: { out: { if (foo) break out; console.log("bar"); } }; expect: { foo || console.log("bar"); } expect_stdout: true } labels_2: { options = { conditionals: true, dead_code: true, if_return: true, } input: { out: { if (foo) print("stuff"); else break out; console.log("here"); } }; expect: { if (foo) { print("stuff"); console.log("here"); } } } labels_3: { options = { conditionals: true, dead_code: true, if_return: true, } input: { for (var i = 0; i < 5; ++i) { if (i < 3) continue; console.log(i); } }; expect: { for (var i = 0; i < 5; ++i) i < 3 || console.log(i); } expect_stdout: true } labels_4: { options = { conditionals: true, dead_code: true, if_return: true, } input: { out: f
aboutsummaryrefslogtreecommitdiff
path: root/test/fetch.js
AgeCommit message (Expand)Author
2017-06-14cache web assets between CI runs (#2089)...- skip `test/jetstream.js` for `node@0.12` Alex Lam S.L