diff options
author | Reuben Thomas <rrt@sc3d.org> | 2017-02-08 22:24:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 22:24:36 +0000 |
commit | 7c0ec265a89808893a692f6205f2555f30198444 (patch) | |
tree | 5f614d77d97356f9b946dec90bace4953ab03c92 /unittests/pwl/enchant_pwl_tests.cpp | |
parent | e92045d3c46eaaa41ec4ed237a0887d097734ae0 (diff) | |
parent | 730e6bf5a0eea0b00565f0f8875c4a0618f4c675 (diff) | |
download | enchant-tags/enchant-1-6-1.tar.gz |
Merge pull request #74 from rrthomas/masterenchant-1-6-1
Fix tests on Windows and add Windows CI via Appveyor
Diffstat (limited to 'unittests/pwl/enchant_pwl_tests.cpp')
-rw-r--r-- | unittests/pwl/enchant_pwl_tests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unittests/pwl/enchant_pwl_tests.cpp b/unittests/pwl/enchant_pwl_tests.cpp index 99e6394..90be9e8 100644 --- a/unittests/pwl/enchant_pwl_tests.cpp +++ b/unittests/pwl/enchant_pwl_tests.cpp @@ -201,7 +201,7 @@ TEST_FIXTURE(EnchantPwl_TestFixture, sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "at");
+ FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "a");
if(f)
{
fputs(Utf8Bom, f);
@@ -257,7 +257,7 @@ TEST_FIXTURE(EnchantPwl_TestFixture, sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "at");
+ FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "a");
if(f)
{
fputs(sWords[0].c_str(), f);
@@ -1153,7 +1153,7 @@ TEST_FIXTURE(EnchantPwl_TestFixture, sleep(1); // FAT systems have a 2 second resolution
// NTFS is appreciably faster but no specs on what it is exactly
// c runtime library's time_t has a 1 second resolution
- FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "at");
+ FILE * f = g_fopen(GetPersonalDictFileName().c_str(), "a");
if(f) {
fputs(Utf8Bom, f);
for(std::vector<std::string>::const_iterator itWord = sWords.begin();
|