fn succeeds_with_env_var_interpolation() {
    let output = expect_exit_code!(
        0,
        r#"
        [scripts]
        basic.cmd = "echo %USER && exit 0"
        basic.env_vars = ["USER"]
        "#,
        BONNIE_VERSION,
        ["basic"]
    );
    assert_contains_ordered!(
        output,
        ["sh, [\"-c\", \"echo ".to_string() + &std::env::var("USER").unwrap() + " && exit 0\"]"]
    );
}
// This test will only work on Linux (uses the `USER` environment variable, the feature itself should be fine)
This test will only work on Linux (uses the `USER` environment variable, the feature itself should be fine)
This test will only work on Linux ( uses the ` USER ` environment variable the feature itself should be fine )
fn succeeds_with_env_var_interpolation() {
    let output = expect_exit_code!(
        0,
        r#"
        [scripts]
        basic.cmd = "echo %USER && exit 0"
        basic.env_vars = ["USER"]
        "#,
        BONNIE_VERSION,
        ["basic"]
    );
    assert_contains_ordered!(
        output,
        ["sh, [\"-c\", \"echo ".to_string() + &std::env::var("USER").unwrap() + " && exit 0\"]"]
    );
}
fn succeeds_with_env_var_interpolation ( ) { let output = expect_exit_code ! ( 0 r#"
        [scripts]
        basic.cmd = "echo %USER && exit 0"
        basic.env_vars = ["USER"]
        "# BONNIE_VERSION [ " " ] ) ; assert_contains_ordered ! ( output [ " \" \" \" " to_string ( ) std env var ( " " ) unwrap ( ) " \" " ] ) ; }
This test will only work on Linux (uses the `USER` environment variable, the feature itself should be fine)
This test will only work on Linux ( uses the ` USER ` environment variable the feature itself should be fine )