diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-17 08:35:34 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-11-17 08:35:34 -0800 |
commit | 79ed320f894c406dd3548e7d34cadd07fa82fb53 (patch) | |
tree | 4e247551f4f173e772ae12cff168c8dedbf519bf /tests | |
parent | 28feddf013746d33c77cd29eb7e275300d664e19 (diff) |
tests: Don't use /dev/tty
The behavior on OSX is different - we don't get a I/O error so the test is
useless.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_document.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 2774a07..2cc39a6 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -301,10 +301,6 @@ TEST(document_load_file_error) CHECK(doc.load_file("filedoesnotexist").status == status_file_not_found); -#ifndef _WIN32 - CHECK(doc.load_file("/dev/tty").status == status_io_error); -#endif - test_runner::_memory_fail_threshold = 1; CHECK(doc.load_file("tests/data/small.xml").status == status_out_of_memory); } |