From dd91ecef502456ba39495d8e178f8101a87c0e34 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sun, 14 Nov 2021 22:14:25 +0900 Subject: [PATCH] chore(tests): fix typo in pty.rs (#12757) --- test_util/src/pty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())