1
0
forked from Alepha/Alepha

Boolean tests have to actually run.

This just checked that they exist, not that they passed.
This commit is contained in:
2022-10-17 18:23:34 -04:00
parent 5c1d821bc2
commit d5684b8d51

View File

@ -101,7 +101,7 @@ namespace Alepha::Hydrogen::Testing
{ {
auto wrapper= [test] auto wrapper= [test]
{ {
if( not test ) if( not test() )
{ {
throw TestFailureException{ 1 }; throw TestFailureException{ 1 };
} }