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 1e31c2d commit cbfd5eb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion crates/rust/platform/tests/rust_platform_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,16 @@ mod target_command {

assert_eq!(
command.bin,
sandbox.path().join("bin").join("sea-orm").to_str().unwrap()
sandbox
.path()
.join("bin")
.join(if cfg!(windows) {
"sea-orm.exe"
} else {
"sea-orm"
})
.to_str()
.unwrap()
);
assert_eq!(command.args, &["migrate", "-u"]);
}
Expand Down

0 comments on commit cbfd5eb

Please sign in to comment.