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

bug fix: checking reproduce and epoch args logic #50

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

jurraca
Copy link
Contributor

@jurraca jurraca commented Jan 21, 2025

A bug I noticed while testing: the check that both reproduce and epoch args only occur together is broken since this commit. The commit intended to ensure that we print the help text when no arguments were provided, but it did not include any tests, which was a mistake on my part and would have caught this.
The command to check here is map not run. The logical operator was also wrong for the intended check.
The test checks the lack of both arguments, and that a helpful usage text is show to the user.

@fjahr
Copy link
Collaborator

fjahr commented Jan 21, 2025

utACK, code and test makes sense.

@fjahr fjahr merged commit bf38f02 into asmap:master Jan 21, 2025
1 check passed
@jurraca jurraca deleted the add-reproduce-test branch January 21, 2025 22:17
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

2 participants