mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27: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
|
@ -4,8 +4,6 @@
|
|||
// file that was distributed with this source code.
|
||||
use uutests::at_and_ucmd;
|
||||
use uutests::new_ucmd;
|
||||
use uutests::util::TestScenario;
|
||||
use uutests::util_name;
|
||||
|
||||
#[test]
|
||||
fn test_invalid_arg() {
|
||||
|
@ -26,9 +24,8 @@ fn test_unlink_file() {
|
|||
|
||||
#[test]
|
||||
fn test_unlink_multiple_files() {
|
||||
let ts = TestScenario::new(util_name!());
|
||||
let (at, mut ucmd) = at_and_ucmd!();
|
||||
|
||||
let (at, mut ucmd) = (ts.fixtures.clone(), ts.ucmd());
|
||||
let file_a = "test_unlink_multiple_file_a";
|
||||
let file_b = "test_unlink_multiple_file_b";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue