diff options
author | louiz’ <louiz@louiz.org> | 2020-08-16 16:09:13 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-08-16 16:09:13 +0200 |
commit | f548f63178508936e36ac42e39d7ca0f064dcfb1 (patch) | |
tree | 2f177e03a76ef05b0f279544d4196beb6f859da4 /tests/utils.cpp | |
parent | d016010333c7c093235f8d2cb8005109d205b2e1 (diff) | |
parent | b98434b5d04d1ada9b24475e17ee8947d96ad1e3 (diff) | |
download | biboumi-f548f63178508936e36ac42e39d7ca0f064dcfb1.tar.gz biboumi-f548f63178508936e36ac42e39d7ca0f064dcfb1.tar.bz2 biboumi-f548f63178508936e36ac42e39d7ca0f064dcfb1.tar.xz biboumi-f548f63178508936e36ac42e39d7ca0f064dcfb1.zip |
Merge branch 'v9'
Diffstat (limited to 'tests/utils.cpp')
-rw-r--r-- | tests/utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/utils.cpp b/tests/utils.cpp index 6de19f0..6151733 100644 --- a/tests/utils.cpp +++ b/tests/utils.cpp @@ -28,6 +28,9 @@ TEST_CASE("String split") CHECK(splitted.size() == 2); CHECK(splitted[0] == ""); CHECK(splitted[1] == "a"); + splitted = utils::split("multi-prefix ", ' '); + CHECK(splitted[0] == "multi-prefix"); + CHECK(splitted.size() == 1); } TEST_CASE("tolower") |