Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add regression test for path w/ trailing wildcard
We decided to leave trailing `*` meaning the same as `**` because it was already in use. Original description: This patch demonstrates a corner case in the path glob matcher. Specifically, it documents how a single trailing asterisk is supposed to be treated as opposed to a double asterisk. With [[1]], a trailing `/*` is interpreted as an equivalent of `/**`. The commit add a case that shows that `/*` shouldn't be greedy as described in the docs [[2]][[3]]. See also the observations in the bug report ticket [[4]]. [1]: ec6205a [2]: https://coverage.rtfd.io/en/stable/source.html#file-patterns [3]: https://coverage.rtfd.io/en/7.2.7/migrating.html#migrating-to-coverage-py-7-x [4]: #1407 (comment)
- Loading branch information