diff options
Diffstat (limited to 'test/common/str.h')
-rw-r--r-- | test/common/str.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common/str.h b/test/common/str.h index 9f8c6fbd60..783ed53c48 100644 --- a/test/common/str.h +++ b/test/common/str.h @@ -340,7 +340,7 @@ class StringTestSuite : public CxxTest::TestSuite } void test_string_printf() { - TS_ASSERT_EQUALS( Common::String::format(""), "" ); + TS_ASSERT_EQUALS( Common::String::format(" "), " " ); TS_ASSERT_EQUALS( Common::String::format("%s", "test"), "test" ); TS_ASSERT_EQUALS( Common::String::format("%s.s%.02d", "monkey", 1), "monkey.s01" ); TS_ASSERT_EQUALS( Common::String::format("Some %s to make this string longer than the default built-in %s %d", "text", "capacity", 123456), "Some text to make this string longer than the default built-in capacity 123456" ); |