diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-12-22 12:24:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 12:24:44 -0800 |
commit | c2266d7a60c5fdb659e92fc4be3be7a036e65178 (patch) | |
tree | 47f6dbb2d737ceadabc8f001a6ca55f2cc5ba9b6 /tests | |
parent | cb7b78b0394c8cd88fa0e212a63c1a497272a088 (diff) | |
parent | a55f575a03537a3d7a2d76bf208016df34968d3f (diff) |
Merge pull request #177 from zeux/osx-fix
tests: Fix OSX test failure
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_document.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 08d836c..a909007 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -598,7 +598,9 @@ TEST(document_load_file_special_folder) // status_out_of_memory is somewhat counter-intuitive but on Linux ftell returns LONG_MAX for directories CHECK(result.status == status_file_not_found || result.status == status_io_error || result.status == status_out_of_memory); } +#endif +#if defined(__linux__) TEST(document_load_file_special_device) { xml_document doc; |