clap-utils: Allow fine-tuning offline args

This commit is contained in:
Trent Nelson
2020-10-07 13:18:25 -06:00
committed by mergify[bot]
parent 71a308affd
commit 4feead323d
4 changed files with 34 additions and 16 deletions

View File

@@ -179,7 +179,7 @@ mod tests {
fn test_blockhash_query_new_from_matches_ok() {
let test_commands = App::new("blockhash_query_test")
.nonce_args(false)
.offline_args(false);
.offline_args();
let blockhash = hash(&[1u8]);
let blockhash_string = blockhash.to_string();