return_1: { beautify = { beautify: false, preserve_line: true, } input: { console.log(function f() { return ( f.toString() != 42 ); }()); } expect_exact: [ "console.log(function f(){", "", "return 42!=f.toString()}());", ] expect_stdout: "true" } return_2: { beautify = { beautify: true, preserve_line: true, } input: { console.log(function f() { return ( f.toString() != 42 ); }()); } expect_exact: [ "console.log(function f() {", "", " return 42 != f.toString();", "}());", ] expect_stdout: "true" } return_3: { options = {} beautify = { beautify: false, preserve_line: true, } input: { console.log(function f() { return ( f.toString() != 42 ); }()); } expect_exact: [ "console.log(function f(){", "", "return 42!=f.toString()}());", ] expect_stdout: "true" } return_4: { options = {} beautify = { beautify: true, preserve_line: true, } input: { console.log(function f() { return ( f.toString() != 42 ); }()); } expect_exact: [ "console.log(function f() {", "", " return 42 != f.toString();", "}());", ] expect_stdout: "true" } return_5: { beautify = { beautify: false, preserve_line: true, } input: { _is_selected = function(tags, slug) { var ref; return (ref = _.find(tags, { slug: slug })) != null ? ref.selected : void 0; }; } expect_exact: [ "_is_selected=function(tags,slug){", "var ref", "", "", ";return null!=(ref=_.find(tags,{slug:slug}))?ref.selected:void 0};", ] } return_6: { beautify = { beautify: true, preserve_line: true, } input: { _is_selected = function(tags, slug) { var ref; return (ref = _.find(tags, { slug: slug })) != null ? ref.selected : void 0; }; } expect_exact: [ "_is_selected = function(tags, slug) {", " var ref;", "", "", " return null != (ref = _.find(tags, {", " slug: slug", " })) ? ref.selected : void 0;", "};", ] } return_7: { options = {} mangle = {} beautify = { beautify: false, preserve_line: true, } input: { _is_selected = function(tags, slug) { var ref; return (ref = _.find(tags, { slug: slug })) != null ? ref.selected : void 0; }; } expect_exact: [ "_is_selected=function(e,l){", "var n", "", "", ";return null!=(n=_.find(e,{slug:l}))?n.selected:void 0};", ] } return_8: { options = {} mangle = {} beautify = { beautify: true, preserve_line: true, } input: { _is_selected = function(tags, slug) { var ref; return (ref = _.find(tags, { slug: slug })) != null ? ref.selected : void 0; }; } expect_exact: [ "_is_selected = function(e, l) {", " var n;", "", "", " return null != (n = _.find(e, {", " slug: l", " })) ? n.selected : void 0;", "};", ] } 34:32 +0200'>2021-06-04gnu: bats: Set #:guile argument of 'wrap-script'.Maxime Devos * gnu/packages/bash.scm (bats)[arguments]<#:builder>: Set #:guile argument of ‘wrap-script’. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2021-05-09gnu: bash: Update to 5.1.8.Marius Bakke * gnu/packages/bash.scm (patch-url): Adjust for 5.1. (%patch-series-5.0): Rename to ... (%patch-series-5.1): Add the 5.1 patches. (bash): Update to 5.1 and and adjust for renamed variable. * gnu/packages/gawk.scm (gawk)[arguments]: Adjust test that fails with the new Bash. 2020-10-26gnu: Use prefix "license:" to import (guix licenses)Zhu Zihao * gnu/packages/bash.scm (bash, bash-completion, bash-tap, bats, bash-ctypes)[license]: Rename with prefix "license:". Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2020-10-26gnu: Add bash-ctypes.Zhu Zihao * gnu/packages/bash.scm (bash-ctypes): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>