typo in dir enum test code fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-06-08 18:30:27 +00:00
parent 285edb24ec
commit 9475670f13

View File

@ -91,7 +91,7 @@
#undef TEST_ALL
static const bool TEST_ALL = TRUE;
#else
#define TEST_THREADS
#define TEST_MIME
static const bool TEST_ALL = FALSE;
#endif
@ -308,7 +308,7 @@ static void TestDirEnum()
puts("*** Testing wxDir::GetFirst/GetNext ***");
wxString cwd = wxGetCwd();
if ( wxDir::Exists(cwd) )
if ( !wxDir::Exists(cwd) )
{
printf("ERROR: current directory '%s' doesn't exist?\n", cwd.c_str());
return;