]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed the just added wxStringTokenizer::GetPosition() test overwritten by the previou...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2004 00:27:02 +0000 (00:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Oct 2004 00:27:02 +0000 (00:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/strings/strings.cpp

index 242372e9a6cf2c50a5da8c24ea41f690eb9ff5d9..2cf63e644fe30708f328eeeeb0c35f3df53138e1 100644 (file)
@@ -338,8 +338,8 @@ DoTokenizerGetPosition(const wxChar *s, const wxChar *delims, int pos, ...)
 void StringTestCase::TokenizerGetPosition()
 {
     DoTokenizerGetPosition(_T("foo"), _T("_"), 3, 0);
-    DoTokenizerGetPosition(_T("foo_bar"), _T("_"), 3, 7, 0);
-    DoTokenizerGetPosition(_T("foo_bar_"), _T("_"), 3, 7,8,  0);
+    DoTokenizerGetPosition(_T("foo_bar"), _T("_"), 4, 7, 0);
+    DoTokenizerGetPosition(_T("foo_bar_"), _T("_"), 4, 8, 0);
 }
 
 void StringTestCase::Replace()