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

Add tests that / makes a glob not match in subdirs #54

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

cxw42
Copy link
Member

@cxw42 cxw42 commented Sep 18, 2024

Closes editorconfig/editorconfig#509, which says:

What about a/.c? Will it match files of the form /foo/**/a/.c or only /foo/a/*.c?

Per editorconfig/specification#49, the answer is that it only matches /foo/a/*.c.

This PR adds core tests of that behaviour.

@cxw42 cxw42 self-assigned this Sep 18, 2024
@xuhdev xuhdev merged commit 69c8616 into editorconfig:master Sep 18, 2024
@cxw42 cxw42 deleted the issue509-new-tests branch September 18, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Meaning of a glob like a/*.c
2 participants