alepez / vim-gtest

Vim plugin to quickly select and run GoogleTest asyncronously.
64 stars 12 forks source link

Cannot match constructs like `TEST_F` and others anymore #13

Closed bbannier closed 7 years ago

bbannier commented 7 years ago

Currently the regex used to match test names to create a filter expression is broken for anything but TEST, e.g., if I have

TEST_F(Nope, Duh) {
...
}

the constructed filter would be TEST_F(Nope, Duh).*, where I would have expected just Nope.Duh. Bisect points to 1086fc742e60fd78be90446de4fb29393ef5356b introducing this.