// Given the dependency file contains an invalid UTF-8 sequence
// When the command is run
// Then the command fails with an error
Given the dependency file contains an invalid UTF-8 sequence
When the command is run
Then the command fails with an error
Given the dependency file contains an invalid UTF - 8 sequence When the command is run Then the command fails with an error
fn deps_file_invalid_utf8() {
    let mut cmd = setup_test_with_deps_file(
        "deps_file_invalid_utf8",
        [0x00, 0x00, 0x00, 0x00, 0xa0, 0x00, 0x00, 0x00],
    );
    let cmd_result = cmd.assert();
    cmd_result
        .code(1)
        .stdout("")
        .stderr(
            "dpnd.txt: This dependency file contains an invalid UTF-8 \
             sequence after byte 4\n",
        );
}
fn deps_file_invalid_utf8 ( ) { let mut cmd = setup_test_with_deps_file ( " " , [ 0x00 , 0x00 , 0x00 , 0x00 , 0xa0 , 0x00 , 0x00 , 0x00 ] , ) ; let cmd_result = cmd . assert ( ) ; cmd_result . code ( 1 ) . stdout ( " " ) . stderr ( " \
 \n " , ) ; }
Given the dependency file contains an invalid UTF-8 sequence
When the command is run
Then the command fails with an error
Given the dependency file contains an invalid UTF - 8 sequence When the command is run Then the command fails with an error