Skip to content

Commit a9eb9d9

Browse files
committed
Fix test after rebased
1 parent 9f2fb81 commit a9eb9d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/pass-dep/libc/libc-epoll.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,12 +527,12 @@ fn test_epoll_lost_events() {
527527
//Two notification should be received. But we only provide buffer for one event.
528528
let expected_event0 = u32::try_from(libc::EPOLLOUT).unwrap();
529529
let expected_value0 = fds[0] as u64;
530-
assert!(check_epoll_wait::<1>(epfd, &[(expected_event0, expected_value0)]));
530+
check_epoll_wait::<1>(epfd, &[(expected_event0, expected_value0)]);
531531

532532
// Previous event should be returned for the second epoll_wait.
533533
let expected_event1 = u32::try_from(libc::EPOLLOUT).unwrap();
534534
let expected_value1 = fds[1] as u64;
535-
assert!(check_epoll_wait::<1>(epfd, &[(expected_event1, expected_value1)]));
535+
check_epoll_wait::<1>(epfd, &[(expected_event1, expected_value1)]);
536536
}
537537

538538
// This is testing if closing an fd that is already in ready list will cause an empty entry in
@@ -563,5 +563,5 @@ fn test_ready_list_fetching_logic() {
563563
// Notification for fd1 should be returned.
564564
let expected_event1 = u32::try_from(libc::EPOLLOUT).unwrap();
565565
let expected_value1 = fd1 as u64;
566-
assert!(check_epoll_wait::<1>(epfd, &[(expected_event1, expected_value1)]));
566+
check_epoll_wait::<1>(epfd, &[(expected_event1, expected_value1)]);
567567
}

0 commit comments

Comments
 (0)