Fix Fuchsia tests in response to fuchsia-zircon update.
Change-Id: Ifee6e86de7b4697575515c90284ffa915828fded
diff --git a/test/test_fuchsia_handles.rs b/test/test_fuchsia_handles.rs
index 85a1432..6642195 100644
--- a/test/test_fuchsia_handles.rs
+++ b/test/test_fuchsia_handles.rs
@@ -11,7 +11,7 @@
let mut event_buffer = Events::with_capacity(1);
let event_buffer = &mut event_buffer;
- let (channel0, channel1) = zircon::Channel::create(zircon::ChannelOpts::Normal).unwrap();
+ let (channel0, channel1) = zircon::Channel::create().unwrap();
let channel1_evented = unsafe { EventedHandle::new(channel1.raw_handle()) };
poll.register(&channel1_evented, Token(1), Ready::readable(), PollOpt::edge()).unwrap();
@@ -19,7 +19,7 @@
poll.poll(event_buffer, Some(Duration::from_millis(MS))).unwrap();
assert_eq!(event_buffer.len(), 0);
- channel0.write(&[1, 2, 3], &mut vec![], 0).unwrap();
+ channel0.write(&[1, 2, 3], &mut vec![]).unwrap();
poll.poll(event_buffer, Some(Duration::from_millis(MS))).unwrap();
let event = event_buffer.get(0).unwrap();
@@ -27,4 +27,4 @@
assert!(event.readiness().is_readable());
poll.deregister(&channel1_evented).unwrap();
-}
\ No newline at end of file
+}