diff options
author | Qingping Hou <dave2008713@gmail.com> | 2015-05-03 02:19:52 -0400 |
---|---|---|
committer | Qingping Hou <dave2008713@gmail.com> | 2015-05-05 05:23:05 -0400 |
commit | 40539b5c23db468f963a82ee947eb79d654220cf (patch) | |
tree | 4d870e47c51f1d3b1b95d811bebf48254ec4d153 /test/sys | |
parent | 05b7749fdc147b3f413b97b3a0adfc0cec91891c (diff) | |
download | nix-40539b5c23db468f963a82ee947eb79d654220cf.zip |
feat: add execvpe
Diffstat (limited to 'test/sys')
-rw-r--r-- | test/sys/test_termios.rs | 2 |
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()) |