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.
This commit is contained in:
Arseny Kapoulkine 2014-11-17 08:35:34 -08:00
parent 28feddf013
commit 79ed320f89

View file

@ -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);
}