Skip to content

Commit

Permalink
chore(tests): fix typo in pty.rs (#12757)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Nov 14, 2021
1 parent 28dbb4a commit dd91ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_util/src/pty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit dd91ece

Please sign in to comment.