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

Fix: Put mm into bash mode for bash tests #207

Closed

Conversation

daniel-ac-martin
Copy link

It would appear that a section of the bash tests were being run without
micromatch being given the bash option.

Note: Supplying this option causes some of the tests to fail. In
particular, it would appear that in bash mode * will match into
directories like **, for example */c will match a/b/c.

It would appear that a section of the bash tests were being run without
micromatch being given the `bash` option.

Note: Supplying this option causes some of the tests to fail. In
particular, it would appear that in bash mode `*` will match into
directories like `**`, for example `*/c` will match `a/b/c`.
@daniel-ac-martin
Copy link
Author

If I have misunderstood the purpose of that batch of tests, please accept my apologies.

@daniel-ac-martin
Copy link
Author

If I am right, then presumably the test in picomatch are also buggy and the tests can only be fixed by fixing picomatch.

@jonschlinkert
Copy link
Member

If I have misunderstood the purpose of that batch of tests, please accept my apologies.

If I recall correctly, the "bash" option wasn't the intent of the "bash" tests. those tests are from bash, and the intent was to test micromatch's node.js behavior against those. Sorry I know that's confusing.

@jonschlinkert
Copy link
Member

closing based on my previous comment. we can discuss further if I misunderstood something.

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.

None yet

2 participants