mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 22:05:39 +02:00
Cleanups output normalization in ApprovalTests
Removed: * NaN normalization * INFINITY normalization * errno normalization * Completely unused duration regex Tests using these macros should be tagged `[approvals]` so they are not run as part of approval tests. Also simplified regex for the test's executable filename, and hidden some tests relying on nullptr normalization.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
Misc.tests.cpp:<line number>: passed: with 1 message: 'yay'
|
||||
Decomposition.tests.cpp:<line number>: passed: fptr == 0 for: 0 == 0
|
||||
Decomposition.tests.cpp:<line number>: passed: fptr == 0l for: 0 == 0
|
||||
Compilation.tests.cpp:<line number>: passed: y.v == 0 for: 0 == 0
|
||||
Compilation.tests.cpp:<line number>: passed: 0 == y.v for: 0 == 0
|
||||
Compilation.tests.cpp:<line number>: passed: t1 == t2 for: {?} == {?}
|
||||
@@ -96,7 +94,7 @@ Compilation.tests.cpp:<line number>: passed: throws_int(false)
|
||||
Compilation.tests.cpp:<line number>: passed: "aaa", Catch::Matchers::EndsWith("aaa") for: "aaa" ends with: "aaa"
|
||||
Compilation.tests.cpp:<line number>: passed: templated_tests<int>(3) for: true
|
||||
Misc.tests.cpp:<line number>: failed: f() == 0 for: 1 == 0
|
||||
Misc.tests.cpp:<line number>: passed: errno == 1 for: 1 == 1
|
||||
Misc.tests.cpp:<line number>: passed: errno_after == 1 for: 1 == 1
|
||||
Compilation.tests.cpp:<line number>: passed: x == 4 for: {?} == 4 with 1 message: 'dummy := 0'
|
||||
Misc.tests.cpp:<line number>: passed: with 1 message: 'Everything is OK'
|
||||
Misc.tests.cpp:<line number>: passed: with 1 message: 'Everything is OK'
|
||||
@@ -2426,9 +2424,6 @@ ToStringTuple.tests.cpp:<line number>: passed: "{ }" == ::Catch::Detail::stringi
|
||||
ToStringTuple.tests.cpp:<line number>: passed: "1.2f" == ::Catch::Detail::stringify(float(1.2)) for: "1.2f" == "1.2f"
|
||||
ToStringTuple.tests.cpp:<line number>: passed: "{ 1.2f, 0 }" == ::Catch::Detail::stringify(type{1.2f,0}) for: "{ 1.2f, 0 }" == "{ 1.2f, 0 }"
|
||||
ToStringTuple.tests.cpp:<line number>: passed: "{ 0 }" == ::Catch::Detail::stringify(type{0}) for: "{ 0 }" == "{ 0 }"
|
||||
ToStringTuple.tests.cpp:<line number>: passed: "{ 0, 42, \"Catch me\" }" == ::Catch::Detail::stringify(value) for: "{ 0, 42, "Catch me" }"
|
||||
==
|
||||
"{ 0, 42, "Catch me" }"
|
||||
ToStringTuple.tests.cpp:<line number>: passed: "{ \"hello\", \"world\" }" == ::Catch::Detail::stringify(type{"hello","world"}) for: "{ "hello", "world" }"
|
||||
==
|
||||
"{ "hello", "world" }"
|
||||
|
Reference in New Issue
Block a user