mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests: fix unused imports warnings on Windows
This commit is contained in:
parent
6988eb7ec6
commit
94aeba9854
3 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
|||
// spell-checker:ignore NOFILE
|
||||
|
||||
use crate::common::util::{vec_of_size, TestScenario};
|
||||
#[cfg(not(windows))]
|
||||
use crate::common::util::vec_of_size;
|
||||
use crate::common::util::TestScenario;
|
||||
#[cfg(any(target_os = "linux", target_os = "android"))]
|
||||
use rlimit::Resource;
|
||||
use std::fs::OpenOptions;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// spell-checker:ignore fname, tname, fpath, specfile, testfile, unspec, ifile, ofile, outfile, fullblock, urand, fileio, atoe, atoibm, availible, behaviour, bmax, bremain, btotal, cflags, creat, ctable, ctty, datastructures, doesnt, etoa, fileout, fname, gnudd, iconvflags, iseek, nocache, noctty, noerror, nofollow, nolinks, nonblock, oconvflags, oseek, outfile, parseargs, rlen, rmax, rposition, rremain, rsofar, rstat, sigusr, sigval, wlen, wstat abcdefghijklm abcdefghi nabcde nabcdefg abcdefg
|
||||
|
||||
use crate::common::util::{TestScenario, UCommand, TESTS_BINARY};
|
||||
use crate::common::util::TestScenario;
|
||||
#[cfg(not(windows))]
|
||||
use crate::common::util::{UCommand, TESTS_BINARY};
|
||||
|
||||
use regex::Regex;
|
||||
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
extern crate tail;
|
||||
|
||||
use crate::common::random::{AlphanumericNewline, RandomString};
|
||||
use crate::common::util::{expected_result, is_ci, TestScenario};
|
||||
#[cfg(not(windows))]
|
||||
use crate::common::util::is_ci;
|
||||
use crate::common::util::{expected_result, TestScenario};
|
||||
use pretty_assertions::assert_eq;
|
||||
use rand::distributions::Alphanumeric;
|
||||
use rstest::rstest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue