fixed wrong test (patch 1532411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d870a03054
commit
523cd68ad4
@ -144,9 +144,12 @@ void FileNameTestCase::TestConstruction()
|
||||
|
||||
void FileNameTestCase::TestComparison()
|
||||
{
|
||||
wxFileName fn1(wxT("/tmp"));
|
||||
wxFileName fn2(wxT("/tmp/"));
|
||||
assert(fn1.SameAs(fn2));
|
||||
wxFileName fn1(wxT("/tmp/file1"));
|
||||
wxFileName fn2(wxT("/tmp/dir2/../file2"));
|
||||
fn1.Normalize();
|
||||
fn2.Normalize();
|
||||
CPPUNIT_ASSERT(fn1.GetPath() == fn2.GetPath());
|
||||
|
||||
}
|
||||
|
||||
void FileNameTestCase::TestSplit()
|
||||
|
Loading…
Reference in New Issue
Block a user