mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Fix bug in test spec parser handling of escaping in ORed patterns
It did not clear out all of its internal state when switching from one pattern to another, so when it should've escaped `,`, it took its position from its position in the original user-provided string, rather than its position in the current pattern. Fixes #1905
This commit is contained in:
@@ -1380,6 +1380,6 @@ due to unexpected exception with message:
|
||||
Why would you throw a std::string?
|
||||
|
||||
===============================================================================
|
||||
test cases: 332 | 258 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1873 | 1721 passed | 131 failed | 21 failed as expected
|
||||
test cases: 333 | 259 passed | 70 failed | 4 failed as expected
|
||||
assertions: 1876 | 1724 passed | 131 failed | 21 failed as expected
|
||||
|
||||
|
Reference in New Issue
Block a user