diff --git a/test_util/src/pty.rs b/test_util/src/pty.rs index 2fa2ed4cd3..a8298d7a57 100644 --- a/test_util/src/pty.rs +++ b/test_util/src/pty.rs @@ -261,7 +261,7 @@ mod windows { impl Pty for WinPseudoConsole { fn write_text(&mut self, text: &str) { - // windows psuedo console requires a \r\n to do a newline + // windows pseudo console requires a \r\n to do a newline let newline_re = regex::Regex::new("\r?\n").unwrap(); self .write_all(newline_re.replace_all(text, "\r\n").as_bytes())