Skip to content

Commit

Permalink
fix: test build_release_for_target_deny_duplicate_crate
Browse files Browse the repository at this point in the history
  • Loading branch information
vobradovich committed Oct 28, 2024
1 parent 1ede551 commit 782b515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/wasm-builder/tests/smoke.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ fn build_release_for_target_deny_duplicate_crate() {
.0;
cmd.arg("--color=always");
cmd.arg("--manifest-path=test-program/Cargo.toml");
cmd.arg("--config=env.GEAR_WASM_BUILDER_DENIED_DUPLICATE_CRATES=\'syn\'");
cmd.env("__GEAR_WASM_BUILDER_DENIED_DUPLICATE_CRATES", "syn");

let _status = cmd.status().expect("cargo run error");
//assert!(!status.success())
let status = cmd.status().expect("cargo run error");
assert!(!status.success())
}

0 comments on commit 782b515

Please sign in to comment.