fn deps_file_invalid_tool() {
    let mut cmd = setup_test_with_deps_file(
        "deps_file_invalid_tool",
        indoc!{"
            deps

            proj tool source version
        "},
    );

    let cmd_result = cmd.assert();

    cmd_result
        .code(1)
        .stdout("")
        .stderr(
            "dpnd.txt:3: The dependency 'proj' specifies an invalid tool name \
             ('tool'); the supported tool is 'git'\n",
        );
}
// Given the dependency file contains an unknown tool
// When the command is run
// Then the command fails with an error
Given the dependency file contains an unknown tool
When the command is run
Then the command fails with an error
Given the dependency file contains an unknown tool When the command is run Then the command fails with an error
fn deps_file_invalid_tool() {
    let mut cmd = setup_test_with_deps_file(
        "deps_file_invalid_tool",
        indoc!{"
            deps
            proj tool source version
        "},
    );
    let cmd_result = cmd.assert();
    cmd_result
        .code(1)
        .stdout("")
        .stderr(
            "dpnd.txt:3: The dependency 'proj' specifies an invalid tool name \
             ('tool'); the supported tool is 'git'\n",
        );
}
fn deps_file_invalid_tool ( ) { let mut cmd = setup_test_with_deps_file ( " " , indoc ! { " " } , ) ; let cmd_result = cmd . assert ( ) ; cmd_result . code ( 1 ) . stdout ( " " ) . stderr ( " \
 \n " , ) ; }
Given the dependency file contains an unknown tool
When the command is run
Then the command fails with an error
Given the dependency file contains an unknown tool When the command is run Then the command fails with an error