mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 21:05:39 +02:00
Fix compilation error when lambdas are used in assertions
This is a partial revert of b7b346c3e5
.
This commit is contained in:
@@ -231,6 +231,9 @@ namespace { namespace CompilationTests {
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Lambdas in assertions") {
|
||||
REQUIRE([]() { return true; }());
|
||||
}
|
||||
|
||||
}} // namespace CompilationTests
|
||||
|
||||
|
Reference in New Issue
Block a user