-
- Downloads
Add support for multiply calling lambda parsers in Clara
Previously a lambda parser in Clara could only be invoked once, even if it internally was ok with being invoked multiple times. With this change, a lambda parser can mark itself as `accept_many`, in which case it will be invoked multiple times if the appropriate flag was supplied multiple times by the user.
Showing
- src/catch2/internal/catch_clara.hpp 54 additions, 9 deletionssrc/catch2/internal/catch_clara.hpp
- tests/SelfTest/Baselines/automake.sw.approved.txt 2 additions, 0 deletionstests/SelfTest/Baselines/automake.sw.approved.txt
- tests/SelfTest/Baselines/compact.sw.approved.txt 15 additions, 0 deletionstests/SelfTest/Baselines/compact.sw.approved.txt
- tests/SelfTest/Baselines/console.std.approved.txt 2 additions, 2 deletionstests/SelfTest/Baselines/console.std.approved.txt
- tests/SelfTest/Baselines/console.sw.approved.txt 85 additions, 2 deletionstests/SelfTest/Baselines/console.sw.approved.txt
- tests/SelfTest/Baselines/junit.sw.approved.txt 4 additions, 1 deletiontests/SelfTest/Baselines/junit.sw.approved.txt
- tests/SelfTest/Baselines/sonarqube.sw.approved.txt 3 additions, 0 deletionstests/SelfTest/Baselines/sonarqube.sw.approved.txt
- tests/SelfTest/Baselines/tap.sw.approved.txt 31 additions, 1 deletiontests/SelfTest/Baselines/tap.sw.approved.txt
- tests/SelfTest/Baselines/teamcity.sw.approved.txt 4 additions, 0 deletionstests/SelfTest/Baselines/teamcity.sw.approved.txt
- tests/SelfTest/Baselines/xml.sw.approved.txt 38 additions, 2 deletionstests/SelfTest/Baselines/xml.sw.approved.txt
- tests/SelfTest/IntrospectiveTests/Clara.tests.cpp 54 additions, 3 deletionstests/SelfTest/IntrospectiveTests/Clara.tests.cpp
Loading
Please register or sign in to comment