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

Implement tests for -Qu/q #2156

Merged
merged 1 commit into from
May 15, 2023
Merged

Implement tests for -Qu/q #2156

merged 1 commit into from
May 15, 2023

Conversation

smolx
Copy link
Contributor

@smolx smolx commented May 9, 2023

Draft version of tests for -Qu (#2061) with some debatable tricks to make it work.

Guidance and rebukes are welcome.

@smolx smolx requested a review from Jguer as a code owner May 9, 2023 19:13
@smolx smolx changed the title Implement tests for -Qu/q (#2061) Implement tests for -Qu/q May 9, 2023
@Jguer
Copy link
Owner

Jguer commented May 15, 2023

Hey @smolx, the tests look good.

The only case I think would miss would be asserting empty update list to make sure an error is returned (so that then the exit error is 1)

On the logging + noConfirm these are hacks I've also had to do for other tests until we can get rid of those globals.

Thanks for the PR, I can merge it in and if you want to pick up that last case feel free to 🙂

@Jguer Jguer merged commit ec15a5b into Jguer:next May 15, 2023
@smolx smolx deleted the tests-for-Qu branch May 26, 2023 13:42
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