Remove extra leading newline from corpus spec texts
This commit is contained in:
parent
f69d709650
commit
70d3cde775
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ static string trim_output(const string &input) {
|
|||
}
|
||||
|
||||
static vector<TestEntry> parse_test_entries(string content) {
|
||||
regex header_pattern("===+\n" "([^=]+)\n" "===+", extended);
|
||||
regex header_pattern("===+\n" "([^=]+)\n" "===+\n", extended);
|
||||
regex separator_pattern("---+", extended);
|
||||
vector<string> descriptions;
|
||||
vector<string> bodies;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue