summaryrefslogtreecommitdiff
path: root/test/sys
diff options
context:
space:
mode:
authorQingping Hou <dave2008713@gmail.com>2015-05-03 02:19:52 -0400
committerQingping Hou <dave2008713@gmail.com>2015-05-05 05:23:05 -0400
commit40539b5c23db468f963a82ee947eb79d654220cf (patch)
tree4d870e47c51f1d3b1b95d811bebf48254ec4d153 /test/sys
parent05b7749fdc147b3f413b97b3a0adfc0cec91891c (diff)
downloadnix-40539b5c23db468f963a82ee947eb79d654220cf.zip
feat: add execvpe
Diffstat (limited to 'test/sys')
-rw-r--r--test/sys/test_termios.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_termios.rs b/test/sys/test_termios.rs
index fd6dbcd6..a41304d7 100644
--- a/test/sys/test_termios.rs
+++ b/test/sys/test_termios.rs
@@ -12,7 +12,7 @@ fn test_tcgetattr() {
// If it's an invalid file descriptor, tcgetattr should also return
// the same error
Err(Error::Sys(Errno::EBADF)) => {
- assert!(termios.err() == Some(Error::Sys(Errno::EBADF)));
+ assert_eq!(termios.err(), Some(Error::Sys(Errno::EBADF)));
},
// Otherwise it should return any error
_ => assert!(termios.is_err())