summaryrefslogtreecommitdiff
path: root/src/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errno.rs')
-rw-r--r--src/errno.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/errno.rs b/src/errno.rs
index 9ed3d7d6..258b7805 100644
--- a/src/errno.rs
+++ b/src/errno.rs
@@ -1204,12 +1204,12 @@ mod consts {
#[cfg(test)]
mod test {
use super::*;
- use nixtest::assert_errno_eq;
+ use nixtest::assert_const_eq;
use libc::c_int;
macro_rules! check_errno {
($($errno:ident),+) => {{
- $(assert_errno_eq(stringify!($errno), $errno as c_int);)+
+ $(assert_const_eq(stringify!($errno), $errno as c_int);)+
}};
}