We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
allow(deprecated)
1 parent 9156630 commit 5af6e2dCopy full SHA for 5af6e2d
1 file changed
cli/tests/on_runtime_upgrade.rs
@@ -1,10 +1,8 @@
1
#![cfg(unix)]
2
-
3
-#[allow(deprecated)]
4
mod on_runtime_upgrade {
5
use std::{path::PathBuf, time::Duration};
6
7
- use assert_cmd::cargo::cargo_bin;
+ use assert_cmd::cargo_bin;
8
use substrate_cli_test_utils as common;
9
use tokio::process::Command;
10
@@ -54,7 +52,7 @@ mod on_runtime_upgrade {
54
52
}
55
53
56
fn on_runtime_upgrade(config: &TestConfig) -> tokio::process::Child {
57
- let path = cargo_bin("try-runtime");
+ let path = cargo_bin!("try-runtime");
58
assert!(
59
path.exists(),
60
"try-runtime binary not found at path: {}",
0 commit comments