clippy: fix nightly lints (#11232)

This commit is contained in:
xtqqczze
2026-03-08 09:13:23 +01:00
committed by GitHub
parent a6b0276966
commit f00a050106
9 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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)