Bump assert_cmd from 0.10.2 to 0.11.0 (#2580)
* Bump assert_cmd from 0.10.2 to 0.11.0 Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 0.10.2 to 0.11.0. - [Release notes](https://github.com/assert-rs/assert_cmd/releases) - [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md) - [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.10.2...v0.11.0) Signed-off-by: dependabot[bot] <support@dependabot.com>, Mark Sinclair Jr <mark@solana.com> * Replace use of removed `Command::main_binary` assert_cmd 11.0 removed this. replaced with `Command::cargo_bin(env!("CARGO_PKG_NAME"))`
This commit is contained in:
@ -16,7 +16,7 @@ solana-sdk = { path = "../sdk", version = "0.12.0" }
|
||||
solana-logger = { path = "../logger", version = "0.12.0" }
|
||||
|
||||
[dev-dependencies]
|
||||
assert_cmd = "0.10"
|
||||
assert_cmd = "0.11"
|
||||
|
||||
[features]
|
||||
cuda = []
|
||||
|
@ -7,7 +7,11 @@ use std::process::Output;
|
||||
use std::sync::Arc;
|
||||
|
||||
fn run_ledger_tool(args: &[&str]) -> Output {
|
||||
Command::main_binary().unwrap().args(args).output().unwrap()
|
||||
Command::cargo_bin(env!("CARGO_PKG_NAME"))
|
||||
.unwrap()
|
||||
.args(args)
|
||||
.output()
|
||||
.unwrap()
|
||||
}
|
||||
|
||||
fn count_newlines(chars: &[u8]) -> usize {
|
||||
|
Reference in New Issue
Block a user