1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

fix clippy (#8275)

* fix clippy

* update

* update
This commit is contained in:
Luv-Ray 2025-06-27 15:15:24 +08:00 committed by GitHub
parent 507e1cc09b
commit fb2399f56b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 25 additions and 19 deletions

View file

@ -309,7 +309,7 @@ fn zero_terminated_with_total() {
}
}
#[cfg_attr(not(feature = "test_unimplemented"), ignore)]
#[cfg_attr(not(feature = "test_unimplemented"), ignore = "")]
#[test]
fn check_order() {
let scene = TestScenario::new(util_name!());
@ -324,7 +324,7 @@ fn check_order() {
.stderr_is("error to be defined");
}
#[cfg_attr(not(feature = "test_unimplemented"), ignore)]
#[cfg_attr(not(feature = "test_unimplemented"), ignore = "")]
#[test]
fn nocheck_order() {
let scene = TestScenario::new(util_name!());
@ -340,7 +340,7 @@ fn nocheck_order() {
// when neither --check-order nor --no-check-order is provided,
// stderr and the error code behaves like check order, but stdout
// behaves like nocheck_order. However with some quirks detailed below.
#[cfg_attr(not(feature = "test_unimplemented"), ignore)]
#[cfg_attr(not(feature = "test_unimplemented"), ignore = "")]
#[test]
fn defaultcheck_order() {
let scene = TestScenario::new(util_name!());