catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Fixed approval tests script for new version number formatting
- Commit
804896cdfaf103c2c25b3edf5509b7d612aacb22- Author
- Phil Nash ·
- Parents
7ab3b5aefb87
Changes
scripts/approvalTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py index f2ffea5c..92e2876c 100644 --- a/scripts/approvalTests.py +++ b/scripts/approvalTests.py @@ -15,7 +15,7 @@ pathParser = re.compile( r'(.*?)/(.*\..pp)(.*)' ) lineNumberParser = re.compile( r'(.*)line="[0-9]*"(.*)' ) hexParser = re.compile( r'(.*)\b(0[xX][0-9a-fA-F]+)\b(.*)' ) durationsParser = re.compile( r'(.*)time="[0-9]*\.[0-9]*"(.*)' ) -versionParser = re.compile( r'(.*?)Catch v[0-9]*.[0-9]* b[0-9]*(.*)' ) +versionParser = re.compile( r'(.*?)Catch v[0-9]*\.[0-9]*\.[0-9].?( .*)' ) if len(sys.argv) == 2: cmdPath = sys.argv[1]