f7: { options = { booleans: true, collapse_vars: true, comparisons: true, conditionals: true, dead_code: true, drop_debugger: true, evaluate: true, hoist_funs: true, if_return: true, join_vars: true, loops: true, negate_iife: true, passes: 3, properties: true, reduce_funcs: true, reduce_vars: true, sequences: true, side_effects: true, toplevel: true, unused: true, } beautify = { beautify: true, } input: { var a = 100, b = 10; function f22464() { var brake146670 = 5; while (((b = a) ? !a : ~a ? null : b += a) && --brake146670 > 0) { } } f22464(); console.log(a, b); } expect_exact: [ "console.log(100, 100);", ] expect_stdout: "100 100" } td class='sub'>Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/guix-gc.sh
AgeCommit message (Expand)Author
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier