diff options
Diffstat (limited to 'test_util')
-rw-r--r-- | test_util/src/builders.rs | 6 | ||||
-rw-r--r-- | test_util/src/lib.rs | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/test_util/src/builders.rs b/test_util/src/builders.rs index 582380bac..324d30e94 100644 --- a/test_util/src/builders.rs +++ b/test_util/src/builders.rs @@ -111,7 +111,7 @@ impl TestContextBuilder { pub fn use_sync_npm_download(self) -> Self { self.env( - // make downloads determinstic + // make downloads deterministic "DENO_UNSTABLE_NPM_SYNC_DOWNLOAD", "1", ) @@ -379,7 +379,7 @@ impl TestCommandBuilder { fn sanitize_output(text: String, args: &[String]) -> String { let mut text = strip_ansi_codes(&text).to_string(); // deno test's output capturing flushes with a zero-width space in order to - // synchronize the output pipes. Occassionally this zero width space + // synchronize the output pipes. Occasionally this zero width space // might end up in the output so strip it from the output comparison here. if args.first().map(|s| s.as_str()) == Some("test") { text = text.replace('\u{200B}', ""); @@ -647,7 +647,7 @@ impl TestCommandOutput { } #[track_caller] - pub fn assert_stderrr_matches_file( + pub fn assert_stderr_matches_file( &self, file_path: impl AsRef<Path>, ) -> &Self { diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index a457f25ae..12d5675d2 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -109,7 +109,7 @@ pub fn env_vars_for_npm_tests_no_sync_download() -> Vec<(String, String)> { pub fn env_vars_for_npm_tests() -> Vec<(String, String)> { let mut env_vars = env_vars_for_npm_tests_no_sync_download(); env_vars.push(( - // make downloads determinstic + // make downloads deterministic "DENO_UNSTABLE_NPM_SYNC_DOWNLOAD".to_string(), "1".to_string(), )); @@ -1372,7 +1372,7 @@ async fn wrap_main_https_server() { .expect("Cannot bind TCP"); println!("ready: https"); // Eye catcher for HttpServerCount let tls_acceptor = TlsAcceptor::from(tls_config.clone()); - // Prepare a long-running future stream to accept and serve cients. + // Prepare a long-running future stream to accept and serve clients. let incoming_tls_stream = async_stream::stream! { loop { let (socket, _) = tcp.accept().await?; @@ -1417,7 +1417,7 @@ async fn wrap_https_h1_only_tls_server() { .expect("Cannot bind TCP"); println!("ready: https"); // Eye catcher for HttpServerCount let tls_acceptor = TlsAcceptor::from(tls_config.clone()); - // Prepare a long-running future stream to accept and serve cients. + // Prepare a long-running future stream to accept and serve clients. let incoming_tls_stream = async_stream::stream! { loop { let (socket, _) = tcp.accept().await?; @@ -1463,7 +1463,7 @@ async fn wrap_https_h2_only_tls_server() { .expect("Cannot bind TCP"); println!("ready: https"); // Eye catcher for HttpServerCount let tls_acceptor = TlsAcceptor::from(tls_config.clone()); - // Prepare a long-running future stream to accept and serve cients. + // Prepare a long-running future stream to accept and serve clients. let incoming_tls_stream = async_stream::stream! { loop { let (socket, _) = tcp.accept().await?; @@ -1527,7 +1527,7 @@ async fn wrap_client_auth_https_server() { .expect("Cannot bind TCP"); println!("ready: https_client_auth on :{HTTPS_CLIENT_AUTH_PORT:?}"); // Eye catcher for HttpServerCount let tls_acceptor = TlsAcceptor::from(tls_config.clone()); - // Prepare a long-running future stream to accept and serve cients. + // Prepare a long-running future stream to accept and serve clients. let incoming_tls_stream = async_stream::stream! { loop { let (socket, _) = tcp.accept().await?; |