summaryrefslogtreecommitdiff
path: root/test/sys/test_pthread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/sys/test_pthread.rs')
-rw-r--r--test/sys/test_pthread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_pthread.rs b/test/sys/test_pthread.rs
index 092a95aa..a4f02772 100644
--- a/test/sys/test_pthread.rs
+++ b/test/sys/test_pthread.rs
@@ -3,5 +3,5 @@ use nix::sys::pthread::*;
#[test]
fn test_pthread_self() {
let tid = pthread_self();
- assert!(tid > 0);
+ assert!(tid != 0);
}