1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #4159 from sylvestre/issue_3780

date: add a test for the issue 3780 to make sure we don't regress
This commit is contained in:
Sylvestre Ledru 2022-11-27 18:24:07 +01:00 committed by GitHub
commit 27958a27ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)