Skip to content

Commit

Permalink
Use cp instead of copy for windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wawel37 committed Dec 6, 2024
1 parent 6a66b47 commit 896a6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scarb/tests/package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ fn package_with_package_script() {
let script_code = indoc! { r#"cargo build --release && mkdir -p ../scarb/cairo-plugin && cp target/release/libfoo.so ../scarb/cairo-plugin"#};

#[cfg(windows)]
let script_code = indoc! { r#"cargo build --release && mkdir -p ../scarb/cairo-plugin && copy target/release/libfoo.dll ../scarb/cairo-plugin"#};
let script_code = indoc! { r#"cargo build --release && mkdir -p ../scarb/cairo-plugin && cp target/release/libfoo.dll ../scarb/cairo-plugin"#};

CairoPluginProjectBuilder::start()
.name("foo")
Expand Down

0 comments on commit 896a6e3

Please sign in to comment.