diff options
| author | Tyge Løvset <[email protected]> | 2023-01-21 20:27:18 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-01-21 20:27:18 +0100 |
| commit | 01bffb4d3b6b175db264c5cc30b1b7e756560639 (patch) | |
| tree | 8582e210bccf7be8f54587b045032e53a9e1f169 /misc/tests | |
| parent | 2c5d525fa939cad8c50903f24b7ecc95ebfc4a87 (diff) | |
| download | STC-modified-01bffb4d3b6b175db264c5cc30b1b7e756560639.tar.gz STC-modified-01bffb4d3b6b175db264c5cc30b1b7e756560639.zip | |
ASSERT_WSUBSTR() => ASSERT_SUBWSTR()
Diffstat (limited to 'misc/tests')
| -rw-r--r-- | misc/tests/ctest.h | 4 |
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, |
