From 817d057840b17a106f7b66e64ec2a7526e42dd20 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 9 Aug 2008 15:50:24 +0000 Subject: [PATCH] added test for Replace(whatever, "") git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/strings.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/strings/strings.cpp b/tests/strings/strings.cpp index 09e0dca52c..0967c6249a 100644 --- a/tests/strings/strings.cpp +++ b/tests/strings/strings.cpp @@ -333,6 +333,8 @@ void StringTestCase::Replace() TEST_WXREPLACE( _T("null\0dehar"), 10, _T("de"), _T("c"), true, _T("null\0char"), 9 ); + TEST_WXREPLACE( "life", 4, "f", "", false, "lie", 3 ); + #undef TEST_WXREPLACE #undef TEST_NULLCHARREPLACE #undef TEST_REPLACE