Fix capture of corpus descriptions in integration tests

This commit is contained in:
Max Brunsfeld 2018-03-02 11:27:36 -08:00
parent fd77bf49a3
commit 07fa3eb386

View file

@ -33,7 +33,7 @@ static vector<TestEntry> parse_test_entries(string content) {
if (!regex_search(content, matches, header_pattern) || matches.empty())
break;
string description = matches[1].str();
string description = matches[2].str();
descriptions.push_back(description);
if (!bodies.empty())