Skip to content

Commit 7a56457

Browse files
committed
fix winapi import
1 parent 98f17bc commit 7a56457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/death.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ fn enabled() -> bool {
2828
let me = processthreadsapi::GetCurrentProcess();
2929
let mut ret = 0;
3030
let r = jobapi::IsProcessInJob(me, 0 as *mut _, &mut ret);
31-
assert!(r != 0);
32-
if ret == winapi::shared::minwindef::FALSE {
31+
assert_ne!(r, 0);
32+
if ret == ::winapi::shared::minwindef::FALSE {
3333
return true
3434
}
3535

0 commit comments

Comments
 (0)