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

[MER-2347] No positional args. #153

Merged
merged 2 commits into from Jun 1, 2023
Merged

[MER-2347] No positional args. #153

merged 2 commits into from Jun 1, 2023

Conversation

ErichKramer
Copy link
Contributor

Has no test code.

Arguably this warrants adding a test case that verifies we error on positional args to stack sync.

I looked at our e2e_tests for a bit and didn't have an immediate idea of where/ how to add this and I'm not yet familiar with gittest. Feel free to bounce back to me that this needs a testcase.

@aviator-app
Copy link
Contributor

aviator-app bot commented Jun 1, 2023

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.

Copy link
Contributor

@twavv twavv left a comment

Choose a reason for hiding this comment

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

Minor enough that it's not an issue to add tests imo. FYI gittest is just an internal utility library to create temporary git repos for testing on.

@@ -48,6 +48,7 @@ latest commit to the repository base branch (e.g., main or master) into the
stack. This is useful for rebasing a whole stack on the latest changes from the
base branch.
`),
PositionalArgs: cobra.NoArgs,
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be Args

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I had this locally and then pushed the wrong state. >.<
Rewriting history please hold.

@aviator-app aviator-app bot merged commit 98dfc39 into master Jun 1, 2023
3 checks passed
@aviator-app aviator-app bot deleted the stack_sync_no_pos branch June 1, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants