mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-19 19:25:38 +02:00
Added test for previous change
(Test Dragged Development?)
This commit is contained in:
@@ -175,3 +175,13 @@ TEST_CASE( "./manual/onechar", "send a single char to INFO" )
|
||||
INFO(3);
|
||||
REQUIRE(false);
|
||||
}
|
||||
|
||||
TEST_CASE("./succeeding/atomic if", "")
|
||||
{
|
||||
size_t x = 0;
|
||||
|
||||
if( x )
|
||||
REQUIRE(x > 0);
|
||||
else
|
||||
REQUIRE(x == 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user