Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests(date): Add tests for #6392 #6471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

RenjiSann
Copy link
Contributor

These tests check that days and month with a single digit are correctly handled.

Subsitute to #6401

These tests check that days and month with a single digit are correctly handled.
Copy link

GNU testsuite comparison:

Skip an intermittent issue tests/tail/inotify-dir-recreate (fails in this run but passes in the 'main' branch)

@@ -401,6 +401,21 @@ fn test_invalid_date_string() {
.stderr_contains("invalid date");
}

#[test]
fn test_date_set_check_valid_format() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function name is a bit misleading because the tests are unrelated to --set.

Copy link
Sponsor Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RenjiSann ping?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, will take care of this in the week 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants