1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

date: add a test for the issue 3780 to make sure we don't regress

This commit is contained in:
Sylvestre Ledru 2022-11-18 21:32:59 +01:00
parent 2f311c7a2d
commit 4d16132948

View file

@ -109,6 +109,11 @@ fn test_date_format_full_day() {
.stdout_matches(&re);
}
#[test]
fn test_date_issue_3780() {
new_ucmd!().arg("+%Y-%m-%d %H-%M-%S%:::z").succeeds();
}
#[test]
fn test_date_nano_seconds() {
// %N nanoseconds (000000000..999999999)