summaryrefslogtreecommitdiff
path: root/test/core/common/UtilsTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-14 23:43:32 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-02-14 23:43:32 +0100
commitce4fd84a714d80859aa01bbca32a81302b93c4d7 (patch)
tree4de6d48f7c1fe0455bca9e3d4b81f69117397bcd /test/core/common/UtilsTest.cpp
parentc771577b9c7c7a3c1b019139ed132101add73cf9 (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.cpp8
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", '.'));