From 17c93ae2b3b56273f418a5cbabb90210cbd4d82b Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 2 May 2014 16:25:56 +0000 Subject: [PATCH] .autotest git-svn-id: svn://ultimatepp.org/upp/trunk@7345 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- autotest/StringMethods/StringMethods.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autotest/StringMethods/StringMethods.cpp b/autotest/StringMethods/StringMethods.cpp index 040886d53..b36a70e1f 100644 --- a/autotest/StringMethods/StringMethods.cpp +++ b/autotest/StringMethods/StringMethods.cpp @@ -168,11 +168,15 @@ void ATest() ASSERT(x == ~Str("needneneneneetheend.")); x.Replace("end.", ""); ASSERT(x == ~Str("needneneneneethe")); + + x.Replace("", "x"); } CONSOLE_APP_MAIN { StdLogSetup(LOG_COUT|LOG_FILE); + + MemoryLimitKb(1024*1024); ATest(); ASSERT((String().Cat() << 123) == "123");