When I run behat --tags="" then I expect no exceptions to be thrown. In the version of behat that I'm running (3.8.1), it throws the following exception:
$ behat --tags="" --list-scenarios
In TagFilter.php line 146:
Warning: Uninitialized string offset 0
It looks like TagFilter doesn't check for the empty string before exploding the string and attempting to use array access on it.
When I run
behat --tags=""
then I expect no exceptions to be thrown. In the version of behat that I'm running (3.8.1), it throws the following exception:It looks like
TagFilter
doesn't check for the empty string before exploding the string and attempting to use array access on it.