diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp index 1b7a873..59c0a1e 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -10,6 +10,7 @@ #include <config/config.hpp> #include <bridge/colors.hpp> #include <utils/tolower.hpp> +#include <utils/revstr.hpp> #include <irc/irc_user.hpp> #include <utils/split.hpp> #include <xmpp/jid.hpp> @@ -161,6 +162,9 @@ int main() std::cout << lowercase << std::endl; assert(lowercase == "coucou les copains ♥"); + const std::string ltr = "coucou"; + assert(utils::revstr(ltr) == "uocuoc"); + /** * XML parsing */ |