]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/filename/filenametest.cpp
More WXDLLIMPEXP_GIZMOS fixes
[wxWidgets.git] / tests / filename / filenametest.cpp
index 2ce261d7164f82a175ad7c0f796407eb772194dc..0e9681ee437aab4ce33d6d29b6a70676a565afc2 100644 (file)
@@ -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()