Remove unnecessary drop calls (#7007)

This commit is contained in:
Ryan Dahl 2020-08-10 17:31:05 -04:00 committed by GitHub
parent 52c1017a74
commit 7d01fcbb77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 53 additions and 128 deletions

View file

@ -401,7 +401,7 @@ mod tests {
#[tokio::test]
async fn execute_006_url_imports() {
let http_server_guard = test_util::http_server();
let _http_server_guard = test_util::http_server();
let p = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.parent()
.unwrap()
@ -441,7 +441,6 @@ mod tests {
assert_eq!(state.metrics.resolve_count, 3);
// Check that we've only invoked the compiler once.
assert_eq!(state.global_state.compiler_starts.load(Ordering::SeqCst), 1);
drop(http_server_guard);
}
fn create_test_worker() -> MainWorker {