Skip to content

Commit 2df6597

Browse files
authored
Remove test_date_empty_string function
Removed test for empty string handling in date command.
1 parent ada1989 commit 2df6597

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/by-util/test_date.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -860,17 +860,6 @@ fn test_date_military_timezone_j_variations() {
860860
.stdout_contains("UTC");
861861
}
862862

863-
#[test]
864-
fn test_date_empty_string() {
865-
// Empty string should be treated as midnight today
866-
new_ucmd!()
867-
.env("TZ", "UTC+1")
868-
.arg("-d")
869-
.arg("")
870-
.succeeds()
871-
.stdout_contains("00:00:00");
872-
}
873-
874863
#[test]
875864
fn test_date_empty_string_variations() {
876865
// Test multiple variations of empty/whitespace strings

0 commit comments

Comments
 (0)