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

Add test for --since #1859

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

Conversation

cruessler
Copy link
Contributor

I wanted to add the following test for AsTime, but it fails with the following message:

error: invalid value ''2 weeks ago'' for '--since <ARG>': Date string can not be parsed

Am I using AsTime incorrectly or is there an issue with the way the test is written?

I initially created the test to be part of #1858.

@Byron
Copy link
Member

Byron commented Feb 22, 2025

That's interesting!

I know there are tests for 2.weeks.ago, but I thought space should definitely work as well.

@cruessler
Copy link
Contributor Author

My first hunch was that it had to do with ' as the error message contained 2 '' in a row in front and after the string, but I didn’t investigate further.

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.

2 participants