diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2021-06-17 21:48:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-17 21:48:16 -0400 |
| commit | 419fe2e6b4b77fbc97dee67eaa32a420accb8cfc (patch) | |
| tree | cb8f143194fd17fb7a16cef16267ad54130d361d | |
| parent | aecf989d432793b108df01c5d5f31adfca19de61 (diff) | |
chore: fix new linting errors flagged by Rust 1.53 (#11029)
| -rw-r--r-- | cli/lsp/parent_process_checker.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/lsp/parent_process_checker.rs b/cli/lsp/parent_process_checker.rs index 6c80969f4..a081d317f 100644 --- a/cli/lsp/parent_process_checker.rs +++ b/cli/lsp/parent_process_checker.rs @@ -62,9 +62,9 @@ mod test { let mut child = Command::new(deno_exe_path()).arg("lsp").spawn().unwrap(); let pid = child.id(); - assert_eq!(is_process_active(pid), true); + assert!(is_process_active(pid)); child.kill().unwrap(); child.wait().unwrap(); - assert_eq!(is_process_active(pid), false); + assert!(!is_process_active(pid)); } } |
