Hi, I was just trying to ignore some of my golden tests, whose name starts by Golden and decided to use this:
flutter test --name "^(?!Golden).+"
What I receive from the CLI is this instead: Couldn't parse --name "[(?Golden).+]": Invalid group(?Golden).+
Note that the ! from the lookahead is gone.
I've tried to review the code but I can't see any kind of sanitizer process. I've also seen that you're using the args package and I did a quick test of that library without success. It works as expected. So there may be another place where this substitution of the ! is taking place.
Maybe I'm missing something obvious. If you could point me in the right direction I would create a PR in order to fix this.
Hi, I was just trying to ignore some of my golden tests, whose name starts by
Goldenand decided to use this:What I receive from the CLI is this instead:
Couldn't parse --name "[(?Golden).+]": Invalid group(?Golden).+Note that the
!from the lookahead is gone.I've tried to review the code but I can't see any kind of sanitizer process. I've also seen that you're using the args package and I did a quick test of that library without success. It works as expected. So there may be another place where this substitution of the
!is taking place.Maybe I'm missing something obvious. If you could point me in the right direction I would create a PR in order to fix this.