diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-08-10 17:31:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-10 17:31:05 -0400 |
commit | 7d01fcbb77169d446d58a5d8c1aa113a925092a0 (patch) | |
tree | fef5b3ab1e0d020b982a2692878039423ea6fcd3 /cli/worker.rs | |
parent | 52c1017a74059655f9424f7ceb3f0c74dcc7f3be (diff) |
Remove unnecessary drop calls (#7007)
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 6076b1cb6..1e9b2fb4a 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -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 { |