diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-18 20:35:05 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-18 20:35:24 +0100 |
commit | 447755d6c8951bdf9593dab9593dac368bcaa372 (patch) | |
tree | 733e2cc6e71edc604b116d1fd167b904bfebaee5 /test/rspamd_cxx_unit_utils.hxx | |
parent | 43055e2379b4796d146a3825df5b314681041a2b (diff) | |
download | rspamd-447755d6c8951bdf9593dab9593dac368bcaa372.tar.gz rspamd-447755d6c8951bdf9593dab9593dac368bcaa372.zip |
[Test] Slightly reorganize tests
Diffstat (limited to 'test/rspamd_cxx_unit_utils.hxx')
-rw-r--r-- | test/rspamd_cxx_unit_utils.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_cxx_unit_utils.hxx b/test/rspamd_cxx_unit_utils.hxx index a65adab70..f5c532ff5 100644 --- a/test/rspamd_cxx_unit_utils.hxx +++ b/test/rspamd_cxx_unit_utils.hxx @@ -46,6 +46,7 @@ TEST_CASE("rspamd_strip_smtp_comments_inplace") { memcpy(cpy, c.first.data(), c.first.size()); auto nlen = rspamd_strip_smtp_comments_inplace(cpy, c.first.size()); CHECK(std::string{cpy,nlen} == c.second); + delete[] cpy; } } |