Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve workaround for carapace ERR output (#1159)
In case of an unknown flag somewhere in the span, carapace outputs the last element of the span followed by the string "ERR". If the flag itself is not the last element, the regex won't match the error message. Instead, check the exact expected value.
- Loading branch information