X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/126bd656a7938de97c702058c537d6f1ce246e26..08e8a24d33774667342ff103b87e73f1aa6e356b:/tests/fileconf/fileconftest.cpp diff --git a/tests/fileconf/fileconftest.cpp b/tests/fileconf/fileconftest.cpp index 7c90ff4612..fa10884e15 100644 --- a/tests/fileconf/fileconftest.cpp +++ b/tests/fileconf/fileconftest.cpp @@ -309,7 +309,8 @@ void FileConfigTestCase::DeleteGroup() _T("[root/group2]\n"), fc ); - CPPUNIT_ASSERT( fc.DeleteGroup(_T("root/group2")) ); + // notice trailing slash: it should be ignored + CPPUNIT_ASSERT( fc.DeleteGroup(_T("root/group2/")) ); wxVERIFY_FILECONFIG( _T("[root]\n") _T("entry=value\n"), fc );