mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
fix clippy warnings
This commit is contained in:
parent
cacd078a49
commit
8032c6d750
4 changed files with 10 additions and 8 deletions
|
@ -1,4 +1,5 @@
|
|||
use crate::common::util::*;
|
||||
#[cfg(any(unix, target_os = "redox"))]
|
||||
use std::ffi::OsStr;
|
||||
|
||||
#[test]
|
||||
|
@ -123,6 +124,7 @@ fn test_too_many_args_output() {
|
|||
);
|
||||
}
|
||||
|
||||
#[cfg(any(unix, target_os = "redox"))]
|
||||
fn test_invalid_utf8_args(os_str: &OsStr) {
|
||||
let test_vec = vec![os_str.to_os_string()];
|
||||
new_ucmd!().args(&test_vec).succeeds().stdout_is("fo<EFBFBD>o\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue