diff options
Diffstat (limited to 'test_util/src')
-rw-r--r-- | test_util/src/lib.rs | 3 |
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}', ""); } |