]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/fileconf/fileconftest.cpp
uppercase CVS
[wxWidgets.git] / tests / fileconf / fileconftest.cpp
index 7c90ff461207b0a6c7abbd8d92a3d4fbf27a8b49..fa10884e15adc5063f428c2ff12e0ab608cd5c69 100644 (file)
@@ -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 );