I'm writing tests for my code using glob package and can't find any pattern that wouldn't compile. I was looking at the test cases in this repository and didn't find any error cases either.
So my question is: is there any input to glob.Compile that would yield an error?
I tried inputs with unbalanced brackets ([ and {), they did compile as well.
I'm writing tests for my code using
glob
package and can't find any pattern that wouldn't compile. I was looking at the test cases in this repository and didn't find any error cases either.So my question is: is there any input to
glob.Compile
that would yield an error?I tried inputs with unbalanced brackets (
[
and{
), they did compile as well.