mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
tests: patch tests to simplify imports
This commit is contained in:
parent
5ce678b1cd
commit
6e23d4e979
63 changed files with 242 additions and 343 deletions
|
@ -6,10 +6,9 @@
|
|||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use uutests::at_and_ucmd;
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util::{TestScenario, UCommand};
|
||||
//use uutests::at_and_ucmd;
|
||||
use uutests::{at_and_ucmd, util_name};
|
||||
use uutests::util::UCommand;
|
||||
|
||||
#[test]
|
||||
fn test_invalid_arg() {
|
||||
|
@ -32,6 +31,8 @@ fn test_failed() {
|
|||
#[test]
|
||||
fn test_deleted_dir() {
|
||||
use std::process::Command;
|
||||
use uutests::util::TestScenario;
|
||||
use uutests::util_name;
|
||||
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let at = &ts.fixtures;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue