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:
parent
28feddf013
commit
79ed320f89
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue