aboutsummaryrefslogtreecommitdiff
issue_1321_no_debug: {
    mangle = {
        properties: {
            keep_quoted: true,
        },
    }
    input: {
        var x = {};
        x.foo = 1;
        x["a"] = 2 * x.foo;
        console.log(x.foo, x["a"]);
    }
    expect: {
        var x = {};
        x.x = 1;
        x["a"] = 2 * x.x;
        console.log(x.x, x["a"]);
    }
    expect_stdout: true
}

issue_1321_debug: {
    mangle = {
        properties: {
            debug: "",
            keep_quoted: true,
        },
    }
    input: {
        var x = {};
        x.foo = 1;
        x["_$foo$_"] = 2 * x.foo;
        console.log(x.foo, x["_$foo$_"]);
    }
    expect: {
        var x = {};
        x.x = 1;
        x["_$foo$_"] = 2 * x.x;
        console.log(x.x, x["_$foo$_"]);
    }
    expect_stdout: true
}

issue_1321_with_quoted: {
    mangle = {
        properties: {
            keep_quoted: false,
        },
    }
    input: {
        var x = {};
        x.foo = 1;
        x["a"] = 2 * x.foo;
        console.log(x.foo, x["a"]);
    }
    expect: {
        var x = {};
        x.x = 1;
        x["o"] = 2 * x.x;
        console.log(x.x, x["o"]);
    }
    expect_stdout: true
}
mmit/gnu/services/audio.scm?id=0db2fa1ac081f684eb15e4ef8561f6e2853527bd'>services: mpd: Do not rotate logs when using syslog....Maxim Cournoyer 2023-07-26services: mpd: Log to syslog by default....Maxim Cournoyer 2023-07-26services: mpd; Refactor start slot directory initialization....Maxim Cournoyer 2023-07-26services: mpd: List log-level in decreasing verbosity order in doc....Maxim Cournoyer 2023-07-25services: mpd: Rename %set-user-group to set-user-group....Maxim Cournoyer 2023-07-25services: mpd: Streamline mpd-user-sanitizer and mympd-user-sanitizer....Maxim Cournoyer 2023-07-25services: mpd: Add an 'update' action to trigger a database update....Maxim Cournoyer 2023-07-25services: mpd: Add auto-update? field to mpd-configuration....Maxim Cournoyer 2023-04-02services: mympd: Use records for user and group fields....Bruno Victal 2023-04-02services: mpd: Use proper records for user and group fields....Bruno Victal 2023-04-02services: mpd: Fix unintentional API breakage for mixer-type field....Bruno Victal 2023-04-02services: replace bare serializers with (serializer ...)...Bruno Victal 2023-03-24services: mpd: Set PulseAudio-related variables....Bruno Victal 2023-03-24services: audio: Remove redundant list-of-string? predicate....Bruno Victal 2023-03-24services: mympd: Require 'syslog service when configured to log to syslog....Bruno Victal 2023-02-05services: mpd: Fix serialization procedure for list-of-string....Bruno Victal 2023-02-05services: Add mympd-service-type....Bruno Victal 2023-02-05services: mpd: Do not hardcode environment variables....Bruno Victal 2023-02-05services: mpd: Refactor MPD service....Bruno Victal 2023-02-05services: mpd: Rewrite using 'define-configuration'....Bruno Victal