Skip to content

Commit fe2481e

Browse files
committed
small update to unittest
1 parent c87d995 commit fe2481e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

StaticResourceAssertUnitTests/StaticResourceUnitTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ TEST_CASE( "StaticResourceAssert Test" )
3333

3434
STATIC_REQUIRE_FALSE(STATIC_RESOURCE_FIND("richText1234234234234.rtf"));
3535
STATIC_REQUIRE_FALSE(STATIC_RESOURCE_FIND("subRes/Test/texture134234 - Copy222.bmp"));
36+
37+
if constexpr (false == STATIC_RESOURCE_FIND("subRes/Test")) {
38+
FAIL();
39+
}
3640
};
3741

3842
SECTION( "STATIC_RESOURCE_ASSERT" )

0 commit comments

Comments
 (0)