mirror of
https://github.com/denoland/deno.git
synced 2025-01-05 05:49:20 -05:00
chore: fix new linting errors flagged by Rust 1.53 (#11029)
This commit is contained in:
parent
aecf989d43
commit
419fe2e6b4
1 changed files with 2 additions and 2 deletions
|
@ -62,9 +62,9 @@ mod test {
|
||||||
let mut child = Command::new(deno_exe_path()).arg("lsp").spawn().unwrap();
|
let mut child = Command::new(deno_exe_path()).arg("lsp").spawn().unwrap();
|
||||||
|
|
||||||
let pid = child.id();
|
let pid = child.id();
|
||||||
assert_eq!(is_process_active(pid), true);
|
assert!(is_process_active(pid));
|
||||||
child.kill().unwrap();
|
child.kill().unwrap();
|
||||||
child.wait().unwrap();
|
child.wait().unwrap();
|
||||||
assert_eq!(is_process_active(pid), false);
|
assert!(!is_process_active(pid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue