diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-14 23:43:32 +0100 |
---|---|---|
committer | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-02-14 23:43:32 +0100 |
commit | ce4fd84a714d80859aa01bbca32a81302b93c4d7 (patch) | |
tree | 4de6d48f7c1fe0455bca9e3d4b81f69117397bcd /test/core/common/UtilsTest.cpp | |
parent | c771577b9c7c7a3c1b019139ed132101add73cf9 (diff) |
Moved code for handling whitespaces to own header, including the "WhitespaceMode" enum
Diffstat (limited to 'test/core/common/UtilsTest.cpp')
-rw-r--r-- | test/core/common/UtilsTest.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/core/common/UtilsTest.cpp b/test/core/common/UtilsTest.cpp index 917f45c..6b8a916 100644 --- a/test/core/common/UtilsTest.cpp +++ b/test/core/common/UtilsTest.cpp @@ -32,14 +32,6 @@ TEST(Utils, isIdentifier) ASSERT_FALSE(Utils::isIdentifier("invalid key")); } -TEST(Utils, trim) -{ - ASSERT_EQ("hello world", Utils::trim("\t hello world \n\r\t")); - ASSERT_EQ("hello world", Utils::trim("hello world \n\r\t")); - ASSERT_EQ("hello world", Utils::trim(" hello world")); - ASSERT_EQ("hello world", Utils::trim("hello world")); -} - TEST(Utils, split) { ASSERT_EQ(std::vector<std::string>({"ab"}), Utils::split("ab", '.')); |