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

Argument check should support prefix matching #17

Closed
mwgamble opened this issue Sep 5, 2023 · 1 comment
Closed

Argument check should support prefix matching #17

mwgamble opened this issue Sep 5, 2023 · 1 comment

Comments

@mwgamble
Copy link

mwgamble commented Sep 5, 2023

Sometimes it's not feasible or desirable to list out all possible arguments. For example, sometimes the number of arguments is variable throughout the script, and I only want to mock it once. In that case it would be ideal if the stubbing functionality could handle matching on prefixes rather than the entire command string.

@toote
Copy link

toote commented Nov 23, 2023

Looks like you are describing the same as #15 so I will close this one as a duplicate

@toote toote closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants