chore: Fix shell tests

Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/4869596053

Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
This commit is contained in:
FabianLars
2023-05-03 07:59:38 +00:00
committed by tauri-bot
parent 11c6dc93a6
commit dd14ffc99c

View File

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