Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Replacing an assert_eq with an assert in new tests.
  • Loading branch information
recatek committed Nov 18, 2023
commit d30ea30f8dadd585cc18a106dc35636278bc5e96
2 changes: 1 addition & 1 deletion test/sys/test_sockopt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ fn test_receive_timestamp() {
)
.unwrap();
setsockopt(&fd, sockopt::ReceiveTimestamp, &true).unwrap();
assert_eq!(getsockopt(&fd, sockopt::ReceiveTimestamp).unwrap(), true);
assert!(getsockopt(&fd, sockopt::ReceiveTimestamp).unwrap());
}

#[test]
Expand Down