Closed marc0l92 closed 2 years ago
Please also add at least one test case for invalid examples and make sure that then output for globbed paths is the same as with the non-globbed counterparts (the ordering of files can be disregarded).
How do you suggest me to do this?
I'd suggest, you create two mapping files, one with and one without globs, selecting the same files and use the same reference values to test against.
Btw. I really appreciate your efforts 👍. Thanks
I created the test you asked
Just in case you made a force-push, please don't as GitHub can't automatically detect the changes since the last review.
Ok, in my company we try to limit the number of commits using push force, but I will not do it here
The branch will be squashed to a single commit anyways when the pull request is merged, so it does not matter how many commits in the initial branch were 👍
@marc0l92 if there are no more additions from your side, I'd merge this feature.
Thanks for your contribution!
You can merge
I'm using the function
glob.sync()
(that you already use to find the mapping file) to expand the wildcards in the path to the example inside the mapping files.