summaryrefslogtreecommitdiffhomepage
path: root/misc/tests/ctest.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/tests/ctest.h')
-rw-r--r--misc/tests/ctest.h4
1 files changed, 2 insertions, 2 deletions
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,