From 01bffb4d3b6b175db264c5cc30b1b7e756560639 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Sat, 21 Jan 2023 20:27:18 +0100 Subject: ASSERT_WSUBSTR() => ASSERT_SUBWSTR() --- misc/tests/ctest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/tests') diff --git a/misc/tests/ctest.h b/misc/tests/ctest.h index 483a05d7..7322e933 100644 --- a/misc/tests/ctest.h +++ b/misc/tests/ctest.h @@ -186,8 +186,8 @@ void assert_str(const char* cmp, const char* exp, const char* real, const char* void assert_wstr(const char* cmp, const wchar_t *exp, const wchar_t *real, const char* caller, int line); #define ASSERT_WSTREQ(exp, real) assert_wstr("==", exp, real, __FILE__, __LINE__) #define ASSERT_WSTRNE(exp, real) assert_wstr("!=", exp, real, __FILE__, __LINE__) -#define ASSERT_WSUBSTR(str, substr) assert_wstr("=~", str, substr, __FILE__, __LINE__) -#define ASSERT_NOTWSUBSTR(str, substr) assert_wstr("!~", str, substr, __FILE__, __LINE__) +#define ASSERT_SUBWSTR(str, substr) assert_wstr("=~", str, substr, __FILE__, __LINE__) +#define ASSERT_NOTSUBWSTR(str, substr) assert_wstr("!~", str, substr, __FILE__, __LINE__) void assert_data(const unsigned char* exp, size_t expsize, const unsigned char* real, size_t realsize, -- cgit v1.2.3