Skip to content

Commit a8d5470

Browse files
authored
Delete test_date_military_timezone_j test
Remove test for military timezone 'J' input.
1 parent 3e0f2dc commit a8d5470

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/by-util/test_date.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -833,19 +833,6 @@ fn test_date_numeric_d_invalid_numbers() {
833833
.stderr_contains("invalid date");
834834
}
835835

836-
#[test]
837-
fn test_date_military_timezone_j() {
838-
// J is reserved for local time in military timezones
839-
// GNU date treats it as midnight today (00:00:00)
840-
new_ucmd!()
841-
.env("TZ", "UTC+1")
842-
.arg("-d")
843-
.arg("J")
844-
.arg("+%F %T %Z")
845-
.succeeds()
846-
.stdout_contains("00:00:00");
847-
}
848-
849836
#[test]
850837
fn test_date_military_timezone_j_variations() {
851838
// Test multiple variations of 'J' input (case insensitive, with whitespace)

0 commit comments

Comments
 (0)