From 7c93fe6bc9f061484d28115e9fa1ec5f89ce5924 Mon Sep 17 00:00:00 2001 From: sanine Date: Sat, 4 Feb 2023 11:23:37 -0600 Subject: fix segfault when comparing NULL strings --- tests/tests.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/tests.h') diff --git a/tests/tests.h b/tests/tests.h index 4a02f66..448f14f 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -17,10 +17,12 @@ int validate_message(const char* received, const char* expected, X(test_CHECK_EQ) \ X(test_CHECK_EQF) \ X(test_CHECK_EQS) \ + X(test_CHECK_EQS_NULL) \ X(test_REQUIRE) \ X(test_REQUIRE_EQ) \ X(test_REQUIRE_EQF) \ X(test_REQUIRE_EQS) \ + X(test_REQUIRE_EQS_NULL) \ #define X(test) const char * test(); TESTS -- cgit v1.2.1