mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Remove isTrue, alwaysTrue, alwaysFalse
isTrue and alwaysFalse were replaced by (void)0, 0 inspired by doctest alwaysTrue was replaced by warning suppression
This commit is contained in:
@@ -762,9 +762,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
@@ -775,9 +773,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
@@ -789,9 +785,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
@@ -801,9 +795,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
@@ -814,9 +806,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assertions then sections
|
||||
@@ -828,9 +818,7 @@ Tricky.tests.cpp:<line number>
|
||||
|
||||
Tricky.tests.cpp:<line number>:
|
||||
PASSED:
|
||||
REQUIRE( Catch::alwaysTrue() )
|
||||
with expansion:
|
||||
true
|
||||
REQUIRE( true )
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Assorted miscellaneous tests
|
||||
|
@@ -819,7 +819,7 @@
|
||||
<TestCase name="Assertions then sections" tags="[Tricky]" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -828,7 +828,7 @@
|
||||
<Section name="A section" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -837,7 +837,7 @@
|
||||
<Section name="Another section" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -849,7 +849,7 @@
|
||||
</Section>
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -858,7 +858,7 @@
|
||||
<Section name="A section" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
@@ -867,7 +867,7 @@
|
||||
<Section name="Another other section" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Expression success="true" type="REQUIRE" filename="projects/<exe-name>/UsageTests/Tricky.tests.cpp" >
|
||||
<Original>
|
||||
Catch::alwaysTrue()
|
||||
true
|
||||
</Original>
|
||||
<Expanded>
|
||||
true
|
||||
|
Reference in New Issue
Block a user