summaryrefslogtreecommitdiff
path: root/cli/tools/test.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-05-10 16:24:37 -0400
committerGitHub <noreply@github.com>2022-05-10 16:24:37 -0400
commitabf72c5b375205b1d7d3565c7660ef70e464c45d (patch)
tree0436c2c218f0b62833eb847a049cbb943c6797a1 /cli/tools/test.rs
parent11c13fb9819a479a5a69278fff3703cf893d3df1 (diff)
chore: fix flaky steps_output_within - part 2 (#14562)
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r--cli/tools/test.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs
index 6ed443806..5395de6af 100644
--- a/cli/tools/test.rs
+++ b/cli/tools/test.rs
@@ -1623,9 +1623,9 @@ impl TestOutputPipe {
// that it's done clearing out its pipe before returning.
let (sender, receiver) = std::sync::mpsc::channel();
self.state.lock().replace(sender);
- // Bit of a hack in order to send a zero width space in order
- // to wake the thread up. It seems that sending zero bytes
- // does not work here on windows.
+ // Bit of a hack to send a zero width space in order to wake
+ // the thread up. It seems that sending zero bytes here does
+ // not work on windows.
self.writer.write_all(ZERO_WIDTH_SPACE.as_bytes()).unwrap();
self.writer.flush().unwrap();
receiver.recv().unwrap();