diff options
author | Eric Albright <eric_albright@sil.org> | 2007-12-23 14:29:55 +0000 |
---|---|---|
committer | Eric Albright <eric_albright@sil.org> | 2007-12-23 14:29:55 +0000 |
commit | 0b7fc3c2b6f3eae6913d117bcc01354f6a2df55a (patch) | |
tree | 03e363180f026a0900c744bce33eaa823f93caf2 | |
parent | e2fcc36bb7f235f1ad4120abc1e4bf8f307c6215 (diff) | |
download | enchant-0b7fc3c2b6f3eae6913d117bcc01354f6a2df55a.tar.gz |
Make tests clean up after themselves
git-svn-id: svn+ssh://svn.abisource.com/svnroot/enchant/trunk@22383 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
-rw-r--r-- | unittests/EnchantBrokerTestFixture.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/EnchantBrokerTestFixture.h b/unittests/EnchantBrokerTestFixture.h index 066dc03..2b7822d 100644 --- a/unittests/EnchantBrokerTestFixture.h +++ b/unittests/EnchantBrokerTestFixture.h @@ -292,7 +292,7 @@ struct EnchantBrokerTestFixture : EnchantTestFixture break;
}
std::string filepath = AddToPath(dir, filename);
- if(g_file_test(filename, G_FILE_TEST_IS_DIR)){
+ if(g_file_test(filepath.c_str(), G_FILE_TEST_IS_DIR)){
DeleteDirAndFiles(filepath);
}
else {
|