X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ff3d9a3532d011db02c121bac04bd3134f02172e..b75c49d1e64c770d5e4a73ba9cc246a2e6ebd776:/tests/filename/filenametest.cpp diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index 2ce261d716..0e9681ee43 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -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()