diff options
author | Johannes Schickel | 2010-07-21 18:17:51 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-07-21 18:17:51 +0000 |
commit | e5e94d45118781902465024fc9a85c7aa0bfd3ce (patch) | |
tree | bd33dbdb2c7334bfae212b5fdbf058e8ff4f6883 /test/common | |
parent | fcc9de35e254d62d58aac0c68b314bb2f7b5b6db (diff) | |
download | scummvm-rg350-e5e94d45118781902465024fc9a85c7aa0bfd3ce.tar.gz scummvm-rg350-e5e94d45118781902465024fc9a85c7aa0bfd3ce.tar.bz2 scummvm-rg350-e5e94d45118781902465024fc9a85c7aa0bfd3ce.zip |
Strip trailing whitespaces in our common code base.
svn-id: r51094
Diffstat (limited to 'test/common')
-rw-r--r-- | test/common/tokenizer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/common/tokenizer.h b/test/common/tokenizer.h index 3420b562aa..9c14875b81 100644 --- a/test/common/tokenizer.h +++ b/test/common/tokenizer.h @@ -5,7 +5,7 @@ class TokenizerTestSuite : public CxxTest::TestSuite { public: void test_nextToken() { - + // test normal behavior Common::StringTokenizer strTokenizer("Now, this is a test!", " ,!"); Common::String tokenArray[] = {"Now", "this", "is", "a", "test"}; @@ -17,7 +17,7 @@ public: TS_ASSERT(strTokenizer.empty()); // Test edge cases: - + // empty string Common::StringTokenizer s1(""); TS_ASSERT_EQUALS("", s1.nextToken()); @@ -37,7 +37,7 @@ public: TS_ASSERT_EQUALS("af", s4.nextToken()); } - void test_resetAndEmpty() { + void test_resetAndEmpty() { Common::StringTokenizer strTokenizer("Just, another test!", " ,!"); // test reset() @@ -48,10 +48,10 @@ public: TS_ASSERT_EQUALS(token2, "Just"); // test empty() - TS_ASSERT(!strTokenizer.empty()); + TS_ASSERT(!strTokenizer.empty()); strTokenizer.nextToken(); //another strTokenizer.nextToken(); //test - TS_ASSERT(strTokenizer.empty()); + TS_ASSERT(strTokenizer.empty()); } }; |