summaryrefslogtreecommitdiffhomepage
path: root/dev/lib/tests/hpptest.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-05 21:16:28 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-05 21:16:36 +0100
commit964f0d8ca36d9333efcfd3136a5cae77dc5dded4 (patch)
tree57eb44165e6008a3561970f5f5d86cb686fc2cbe /dev/lib/tests/hpptest.hpp
parent01c6071ac4a64cbee4270a73f0fe88b10b31097d (diff)
feat: lib: implement basic_url and fix httptest header.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/lib/tests/hpptest.hpp')
-rw-r--r--dev/lib/tests/hpptest.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/lib/tests/hpptest.hpp b/dev/lib/tests/hpptest.hpp
index 333ece3..63fc962 100644
--- a/dev/lib/tests/hpptest.hpp
+++ b/dev/lib/tests/hpptest.hpp
@@ -7,7 +7,6 @@
#pragma once
-#ifdef SCL_HPPTEST
namespace scl::hpptest
{
typedef bool condition_type;
@@ -15,7 +14,8 @@ namespace scl::hpptest
template <condition_type expr = true>
consteval inline void must_pass()
{
+#ifdef SCL_HPPTEST
SCL_HPPTEST_ASSERT(expr);
+#endif
}
} // namespace scl::hpptest
-#endif