diff options
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp index bed8829..234ab2d 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -6,6 +6,7 @@ #include <utils/encoding.hpp> #include <config/config.hpp> #include <bridge/colors.hpp> +#include <utils/tolower.hpp> #include <utils/split.hpp> #include <xmpp/jid.hpp> #include <string.h> @@ -66,6 +67,10 @@ int main() assert(splitted[0] == ""); assert(splitted[1] == "a"); + const std::string lowercase = utils::tolower("CoUcOu LeS CoPaiNs ♥"); + std::cout << lowercase << std::endl; + assert(lowercase == "coucou les copains ♥"); + /** * XML parsing */ |