Skip to content

[Tigron]: support multi-parameters for expect.Contains and expect.DoesNotContain #4136

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

Merged
merged 2 commits into from
Apr 21, 2025

Conversation

apostasie
Copy link
Contributor

@apostasie apostasie commented Apr 19, 2025

On top of #4122.
Broken out of #4129.

This is a small, purely quality of life PR, that allows expect.Contains and expect.DoesNotContain to accept more than one argument.

Second commit does cleanup tests, eg: replacing expect.All(expect.Contains("foo"), ..., expect.Contains("bar")) with the easier-on-the-eyes notation: expect.Contains("foo", "bar").

@apostasie apostasie force-pushed the tigron-2025-04-contains-multi branch from a549d66 to 6b9a26a Compare April 19, 2025 18:00
@apostasie apostasie marked this pull request as ready for review April 19, 2025 18:06
@apostasie
Copy link
Contributor Author

Failure is #4046

@AkihiroSuda AkihiroSuda added this to the v2.0.5 milestone Apr 19, 2025
@AkihiroSuda AkihiroSuda added the area/ci e.g., CI failure label Apr 19, 2025
@AkihiroSuda
Copy link
Member

Needs rebase

Signed-off-by: apostasie <spam_blackhole@farcloser.world>
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
@apostasie apostasie force-pushed the tigron-2025-04-contains-multi branch from 6b9a26a to 4e96113 Compare April 21, 2025 04:27
@apostasie
Copy link
Contributor Author

Needs rebase

Not quite sure why it needed it... 🤷‍♂️

Anyhow, done.

Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit aa2ed30 into containerd:main Apr 21, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci e.g., CI failure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants