aboutsummaryrefslogtreecommitdiff
path: root/test/common/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/common/stream.h')
-rw-r--r--test/common/stream.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/common/stream.h b/test/common/stream.h
index a605d34a2c..4d332b8925 100644
--- a/test/common/stream.h
+++ b/test/common/stream.h
@@ -7,9 +7,9 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite {
void test_readline(void) {
byte contents[] = { 'a', 'b', '\n', '\n', 'c', '\n' };
Common::MemoryReadStream ms(contents, sizeof(contents));
-
+
char buffer[100];
-
+
TS_ASSERT(0 != ms.readLine_NEW(buffer, sizeof(buffer)));
TS_ASSERT(0 == strcmp(buffer, "ab\n"));
@@ -29,9 +29,9 @@ class ReadLineStreamTestSuite : public CxxTest::TestSuite {
void test_readline2(void) {
byte contents[] = { 'a', 'b', '\n', '\n', 'c' };
Common::MemoryReadStream ms(contents, sizeof(contents));
-
+
char buffer[100];
-
+
TS_ASSERT(0 != ms.readLine_NEW(buffer, sizeof(buffer)));
TS_ASSERT(0 == strcmp(buffer, "ab\n"));