support filenames with empty extension (foo.) (bug 1078200)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -148,6 +148,10 @@ void FileNameTestCase::TestSplit()
|
||||
CPPUNIT_ASSERT( name == fni.name );
|
||||
CPPUNIT_ASSERT( ext == fni.ext );
|
||||
}
|
||||
|
||||
// special case of empty extension
|
||||
wxFileName fn(_T("foo."));
|
||||
CPPUNIT_ASSERT( fn.GetFullPath() == _T("foo.") );
|
||||
}
|
||||
|
||||
void FileNameTestCase::TestSetPath()
|
||||
|
Reference in New Issue
Block a user