mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
refactor(test): Make it easier to fork tests
This commit is contained in:
parent
19d8ca807f
commit
4a9c4dee64
22 changed files with 22 additions and 22 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::ffi::OsString;
|
||||
|
||||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, AppSettings, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
use clap::{arg, error::ErrorKind, Arg, Command};
|
||||
|
||||
#[test]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use std::str;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::Command;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{error::ErrorKind, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, value_parser, Arg, Command, Error};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
use clap::{arg, Arg, Command};
|
||||
|
||||
const USE_FLAG_AS_ARGUMENT: &str =
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command, PossibleValue};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::env;
|
|||
|
||||
use clap::{Arg, Command};
|
||||
|
||||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
static HIDE_ENV: &str = "ctest 0.1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, ArgMatches, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{error::ErrorKind, Arg, Command, PossibleValue};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, error::ErrorKind, Arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use clap::{arg, Command};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use std::io::Write;
|
||||
use std::str;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use crate::utils;
|
||||
use super::utils;
|
||||
|
||||
use std::str;
|
||||
|
||||
|
|
Loading…
Reference in a new issue