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:
dependabot[bot]
2019-01-29 13:10:48 -06:00
committed by Mark
parent df136578d4
commit e2e5bc65a9
3 changed files with 14 additions and 8 deletions

View File

@ -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 = []

View File

@ -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 {