mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
clippy: fix nightly lints (#11232)
This commit is contained in:
@@ -1620,7 +1620,7 @@ fn test_date_locale_en_us_vs_c_difference() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(target_os = "linux", target_os = "android", target_vendor = "apple",))]
|
||||
#[cfg(any(target_os = "linux", target_os = "android", target_vendor = "apple"))]
|
||||
fn test_date_locale_fr_french() {
|
||||
// Test French locale (fr_FR.UTF-8) behavior
|
||||
// French typically uses 24-hour format and may have localized day/month names
|
||||
|
||||
@@ -3773,10 +3773,10 @@ fn test_when_argument_file_is_non_existent_unix_socket_address_then_error() {
|
||||
format!("tail: cannot open '{socket}' for reading: No such device or address\n");
|
||||
#[cfg(target_os = "freebsd")]
|
||||
let expected_stderr =
|
||||
format!("tail: cannot open '{socket}' for reading: Operation not supported\n",);
|
||||
format!("tail: cannot open '{socket}' for reading: Operation not supported\n");
|
||||
#[cfg(target_os = "macos")]
|
||||
let expected_stderr =
|
||||
format!("tail: cannot open '{socket}' for reading: Operation not supported on socket\n",);
|
||||
format!("tail: cannot open '{socket}' for reading: Operation not supported on socket\n");
|
||||
|
||||
ts.ucmd()
|
||||
.arg(socket)
|
||||
|
||||
Reference in New Issue
Block a user