We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5f22a commit e6e9b67Copy full SHA for e6e9b67
test/stringtools_test.cpp
@@ -51,6 +51,8 @@ TEST_CASE("stringtools_test - split")
51
std::string("***strange***"),
52
std::string("string.") };
53
54
+ REQUIRE_EQ(split_lines(false, std::string("")).size(), 0);
55
+ REQUIRE_EQ(split_lines(true, std::string("")).size(), 1);
56
REQUIRE_EQ(split_lines(true, text), textAsLinesWithEmty);
57
REQUIRE_EQ(split_lines(false, text), textAsLinesWithoutEmpty);
58
REQUIRE_EQ(split_words(false, text), textAsWords);
0 commit comments