summaryrefslogtreecommitdiff
path: root/tests/util/server/src/pty.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-10-24 18:06:17 -0400
committerGitHub <noreply@github.com>2024-10-24 22:06:17 +0000
commite16230624747eccea7636b20b952df5899719336 (patch)
tree9a8ed7a52ca7042877101425e67a086f562f29ad /tests/util/server/src/pty.rs
parent8dd6177c624649d75ffcacca77e7c4f48cea07a2 (diff)
chore: remove print debugging from test server (#26529)
Accidentally added in https://github.com/denoland/deno/pull/26473/files
Diffstat (limited to 'tests/util/server/src/pty.rs')
-rw-r--r--tests/util/server/src/pty.rs18
1 files changed, 12 insertions, 6 deletions
diff --git a/tests/util/server/src/pty.rs b/tests/util/server/src/pty.rs
index 8d42fed78..07659262c 100644
--- a/tests/util/server/src/pty.rs
+++ b/tests/util/server/src/pty.rs
@@ -61,7 +61,10 @@ impl Pty {
if is_windows && *IS_CI {
// the pty tests don't really start up on the windows CI for some reason
// so ignore them for now
- eprintln!("Ignoring windows CI.");
+ #[allow(clippy::print_stderr)]
+ {
+ eprintln!("Ignoring windows CI.");
+ }
false
} else {
true
@@ -250,11 +253,14 @@ impl Pty {
}
let text = self.next_text();
- eprintln!(
- "------ Start Full Text ------\n{:?}\n------- End Full Text -------",
- String::from_utf8_lossy(&self.read_bytes)
- );
- eprintln!("Next text: {:?}", text);
+ #[allow(clippy::print_stderr)]
+ {
+ eprintln!(
+ "------ Start Full Text ------\n{:?}\n------- End Full Text -------",
+ String::from_utf8_lossy(&self.read_bytes)
+ );
+ eprintln!("Next text: {:?}", text);
+ }
false
}