From d5684b8d51b4e5acccdd6fe3061447f1b54c628c Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 17 Oct 2022 18:23:34 -0400 Subject: [PATCH] Boolean tests have to actually run. This just checked that they exist, not that they passed. --- Testing/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/test.h b/Testing/test.h index 7d19b6d..5ea6f64 100644 --- a/Testing/test.h +++ b/Testing/test.h @@ -101,7 +101,7 @@ namespace Alepha::Hydrogen::Testing { auto wrapper= [test] { - if( not test ) + if( not test() ) { throw TestFailureException{ 1 }; }