summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorMathias Lafeldt <mathias.lafeldt@gmail.com>2022-08-21 19:31:14 +0200
committerGitHub <noreply@github.com>2022-08-21 19:31:14 +0200
commite96933bc163fd81a276cbc169b17f76724a5ac33 (patch)
tree9baab891a4035c4a03b490bb81ade8b42c426d9a /test_util/src
parentfb2aeb79a113e576ff2cc4f1bf3fc30741969508 (diff)
chore: use Rust 1.63.0 (#15464)
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index 79c74aef8..d15538e54 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -1052,6 +1052,7 @@ impl hyper::server::accept::Accept for HyperAcceptor<'_> {
}
#[allow(clippy::non_send_fields_in_send_ty)]
+// SAFETY: unsafe trait must have unsafe implementation
unsafe impl std::marker::Send for HyperAcceptor<'_> {}
async fn wrap_redirect_server() {
@@ -1897,7 +1898,7 @@ impl<'a> CheckOutputIntegrationTest<'a> {
// deno test's output capturing flushes with a zero-width space in order to
// synchronize the output pipes. Occassionally this zero width space
// might end up in the output so strip it from the output comparison here.
- if args.get(0) == Some(&"test") {
+ if args.first() == Some(&"test") {
actual = actual.replace('\u{200B}', "");
}