1
0
Fork 0
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:
David Sherret 2021-06-17 21:48:16 -04:00 committed by GitHub
parent aecf989d43
commit 419fe2e6b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
} }
} }