Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 21, 2023
1 parent 22ae8f1 commit 1e31c2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/rust/platform/tests/rust_platform_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ mod target_command {
async fn uses_cargo_bin() {
let sandbox = create_sandbox("rust/project");
sandbox.create_file("bin/cargo-nextest", "");
sandbox.create_file("bin/cargo-nextest.exe", "");

let mut task = create_task();
task.command = "nextest".into();
Expand All @@ -307,6 +308,7 @@ mod target_command {
async fn uses_cargo_bin_with_prefix() {
let sandbox = create_sandbox("rust/project");
sandbox.create_file("bin/cargo-nextest", "");
sandbox.create_file("bin/cargo-nextest.exe", "");

let mut task = create_task();
task.command = "cargo-nextest".into();
Expand All @@ -326,6 +328,7 @@ mod target_command {
async fn uses_global_bin() {
let sandbox = create_sandbox("rust/project");
sandbox.create_file("bin/sea-orm", "");
sandbox.create_file("bin/sea-orm.exe", "");

let mut task = create_task();
task.command = "sea-orm".into();
Expand Down

0 comments on commit 1e31c2d

Please sign in to comment.