mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-08-07 01:33:52 +00:00
style: cargo fmt
This commit is contained in:
parent
5da59c36c7
commit
dc1de5b344
9 changed files with 157 additions and 61 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use std::fs;
|
||||
|
||||
use assert_cmd::{cargo::cargo_bin, Command};
|
||||
use assert_cmd::{Command, cargo::cargo_bin};
|
||||
use predicates::prelude::*;
|
||||
|
||||
fn bin() -> Command {
|
||||
|
|
@ -16,10 +16,7 @@ fn test_env_dir(name: &str) -> std::path::PathBuf {
|
|||
|
||||
#[test]
|
||||
fn help_works() {
|
||||
bin()
|
||||
.arg("--help")
|
||||
.assert()
|
||||
.success();
|
||||
bin().arg("--help").assert().success();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue