diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-16 03:01:15 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-16 03:01:15 +0000 |
commit | e0db3f0709a737e7258fd40a7cbfe9a461ea0756 (patch) | |
tree | e81cfc35b6602ffceefa73b8971ce3b94312820a /dviware/dvisvgm/tests/UtilityTest.cpp | |
parent | f5460c92605f1b3b17448b27ce53375157c3e4b1 (diff) |
CTAN sync 202311160301
Diffstat (limited to 'dviware/dvisvgm/tests/UtilityTest.cpp')
-rw-r--r-- | dviware/dvisvgm/tests/UtilityTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dviware/dvisvgm/tests/UtilityTest.cpp b/dviware/dvisvgm/tests/UtilityTest.cpp index f5fda4a35b..c118aee8f9 100644 --- a/dviware/dvisvgm/tests/UtilityTest.cpp +++ b/dviware/dvisvgm/tests/UtilityTest.cpp @@ -80,6 +80,9 @@ TEST(UtilityTest, split) { ASSERT_EQ(parts.size(), 1u); EXPECT_EQ(parts[0], ""); + parts = split("", ",", true); + ASSERT_EQ(parts.size(), 0u); + parts = split("abcde", ""); ASSERT_EQ(parts.size(), 1u); EXPECT_EQ(parts[0], "abcde"); |