projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98f17bc
)
fix winapi import
author
Eh2406
<YeomanYaacov@gmail.com>
Wed, 21 Feb 2018 19:26:29 +0000
(14:26 -0500)
committer
Eh2406
<YeomanYaacov@gmail.com>
Wed, 21 Feb 2018 19:26:29 +0000
(14:26 -0500)
tests/testsuite/death.rs
patch
|
blob
|
history
diff --git
a/tests/testsuite/death.rs
b/tests/testsuite/death.rs
index e520c4dcdfd7230952131af3d253fc8ae6c7d3d0..9a7d69bf1a60d9db03ac96090f569463b55e881e 100644
(file)
--- a/
tests/testsuite/death.rs
+++ b/
tests/testsuite/death.rs
@@
-28,8
+28,8
@@
fn enabled() -> bool {
let me = processthreadsapi::GetCurrentProcess();
let mut ret = 0;
let r = jobapi::IsProcessInJob(me, 0 as *mut _, &mut ret);
- assert
!(r !=
0);
- if ret == winapi::shared::minwindef::FALSE {
+ assert
_ne!(r,
0);
+ if ret ==
::
winapi::shared::minwindef::FALSE {
return true
}