diff options
Diffstat (limited to 'test/test_poll.rs')
-rw-r--r-- | test/test_poll.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_poll.rs b/test/test_poll.rs index 13a95d2c..6d30f265 100644 --- a/test/test_poll.rs +++ b/test/test_poll.rs @@ -4,7 +4,7 @@ use nix::unistd::{write, pipe}; #[test] fn test_poll() { let (r, w) = pipe().unwrap(); - let mut fds = [PollFd::new(r, POLLIN, EventFlags::empty())]; + let mut fds = [PollFd::new(r, POLLIN)]; let nfds = poll(&mut fds, 100).unwrap(); assert_eq!(nfds, 0); |