chore: Fix shell tests

pull/340/head^2
FabianLars 2 years ago
parent 33d6352550
commit 1397172e95
No known key found for this signature in database
GPG Key ID: 3B12BC1DEBF61125

@ -480,7 +480,7 @@ mod tests {
#[test]
fn test_cmd_output_output() {
let cmd = Command::new("cat").args(["test/api/test.txt"]);
let output = cmd.output().unwrap();
let output = tauri::async_runtime::block_on(cmd.output()).unwrap();
assert_eq!(String::from_utf8(output.stderr).unwrap(), "");
assert_eq!(
@ -493,7 +493,7 @@ mod tests {
#[test]
fn test_cmd_output_output_fail() {
let cmd = Command::new("cat").args(["test/api/"]);
let output = cmd.output().unwrap();
let output = tauri::async_runtime::block_on(cmd.output()).unwrap();
assert_eq!(String::from_utf8(output.stdout).unwrap(), "");
assert_eq!(

Loading…
Cancel
Save