Skip to content

Commit 5af6e2d

Browse files
committed
Remove leftover instance of allow(deprecated)
1 parent 9156630 commit 5af6e2d

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cli/tests/on_runtime_upgrade.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#![cfg(unix)]
2-
3-
#[allow(deprecated)]
42
mod on_runtime_upgrade {
53
use std::{path::PathBuf, time::Duration};
64

7-
use assert_cmd::cargo::cargo_bin;
5+
use assert_cmd::cargo_bin;
86
use substrate_cli_test_utils as common;
97
use tokio::process::Command;
108

@@ -54,7 +52,7 @@ mod on_runtime_upgrade {
5452
}
5553

5654
fn on_runtime_upgrade(config: &TestConfig) -> tokio::process::Child {
57-
let path = cargo_bin("try-runtime");
55+
let path = cargo_bin!("try-runtime");
5856
assert!(
5957
path.exists(),
6058
"try-runtime binary not found at path: {}",

0 commit comments

Comments
 (0)