diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/common/hashmap.h | 2 | ||||
-rw-r--r-- | test/common/list.h | 2 | ||||
-rw-r--r-- | test/common/pack.h | 2 | ||||
-rw-r--r-- | test/module.mk | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/common/hashmap.h b/test/common/hashmap.h index cb69c4417b..af78baba96 100644 --- a/test/common/hashmap.h +++ b/test/common/hashmap.h @@ -61,7 +61,7 @@ class HashMapTestSuite : public CxxTest::TestSuite // The container is initially empty ... TS_ASSERT( container.begin() == container.end() ); - + // ... then non-empty ... container[324] = 33; TS_ASSERT( container.begin() != container.end() ); diff --git a/test/common/list.h b/test/common/list.h index 6502622be8..c206dbe009 100644 --- a/test/common/list.h +++ b/test/common/list.h @@ -22,7 +22,7 @@ class ListTestSuite : public CxxTest::TestSuite // The container is initially empty ... TS_ASSERT( container.begin() == container.end() ); - + // ... then non-empty ... container.push_back(33); TS_ASSERT( container.begin() != container.end() ); diff --git a/test/common/pack.h b/test/common/pack.h index e618a39743..1db8c8c409 100644 --- a/test/common/pack.h +++ b/test/common/pack.h @@ -15,7 +15,7 @@ struct TestStruct { #include <common/pack-end.h> // END STRUCT PACKING -#define OFFS(type,item) (((ptrdiff_t)(&((type*)42)->type::item))-42) +#define OFFS(type,item) (((ptrdiff_t)(&((type*)42)->type::item))-42) class PackTestSuite : public CxxTest::TestSuite { diff --git a/test/module.mk b/test/module.mk index 2a813c7869..22c2dfa2c5 100644 --- a/test/module.mk +++ b/test/module.mk @@ -11,7 +11,7 @@ TEST_LIBS := common/libcommon.a # TEST_FLAGS := --runner=StdioPrinter TEST_CFLAGS := -Itest/cxxtest -TEST_LDFLAGS := +TEST_LDFLAGS := # Enable this to get an X11 GUI for the error reporter. |