refactor(test): Make it easier to fork tests

This commit is contained in:
Ed Page 2022-06-07 16:21:12 -05:00
parent 19d8ca807f
commit 4a9c4dee64
22 changed files with 22 additions and 22 deletions

View file

@ -1,6 +1,6 @@
use std::ffi::OsString;
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, AppSettings, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, Command};
#[test]

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use std::str;

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::Command;

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{error::ErrorKind, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, value_parser, Arg, Command, Error};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, Arg, Command};
const USE_FLAG_AS_ARGUMENT: &str =

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command, PossibleValue};

View file

@ -4,7 +4,7 @@ use std::env;
use clap::{Arg, Command};
use crate::utils;
use super::utils;
static HIDE_ENV: &str = "ctest 0.1

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, ArgMatches, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{error::ErrorKind, Arg, Command, PossibleValue};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, ArgGroup, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, error::ErrorKind, Arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use clap::{arg, Command};

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use std::io::Write;
use std::str;

View file

@ -1,4 +1,4 @@
use crate::utils;
use super::utils;
use std::str;