mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
sc-executor-wasmtime: Do not use absolute path to Cargo.toml in test (#14370)
* sc-executor-wasmtime: Do not use absolute path to `Cargo.toml` in test As the test is executed inside the workspace, `cargo metadata` will automatically detect the correct `Cargo.toml`. This is required for the mono repo. * ".git/.scripts/commands/fmt/fmt.sh" --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -500,10 +500,7 @@ fn test_instances_without_reuse_are_not_leaked() {
|
||||
|
||||
#[test]
|
||||
fn test_rustix_version_matches_with_wasmtime() {
|
||||
let metadata = cargo_metadata::MetadataCommand::new()
|
||||
.manifest_path("../../../Cargo.toml")
|
||||
.exec()
|
||||
.unwrap();
|
||||
let metadata = cargo_metadata::MetadataCommand::new().exec().unwrap();
|
||||
|
||||
let wasmtime_rustix = metadata
|
||||
.packages
|
||||
|
||||
Reference in New Issue
Block a user