From 46829bd53ced5d7d5a4b4c6600f2061cc8720536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 30 Mar 2016 14:26:48 +0200 Subject: [PATCH] tests: Fix warning in unit tests --- tests/unit/net/http_loader.rs | 3 +-- tests/unit/util/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unit/net/http_loader.rs b/tests/unit/net/http_loader.rs index b20585d8f36..5486840a535 100644 --- a/tests/unit/net/http_loader.rs +++ b/tests/unit/net/http_loader.rs @@ -19,12 +19,11 @@ use hyper::status::StatusCode; use msg::constellation_msg::PipelineId; use net::cookie::Cookie; use net::cookie_storage::CookieStorage; -use net::hsts::{HSTSList, HSTSEntry}; +use net::hsts::HSTSEntry; use net::http_loader::{load, LoadError, HttpRequestFactory, HttpRequest, HttpResponse, HttpState}; use net::resource_thread::{AuthCacheEntry, CancellationListener}; use net_traits::{LoadData, CookieSource, LoadContext, IncludeSubdomains}; use std::borrow::Cow; -use std::collections::HashMap; use std::io::{self, Write, Read, Cursor}; use std::sync::mpsc::Receiver; use std::sync::{Arc, mpsc, RwLock}; diff --git a/tests/unit/util/lib.rs b/tests/unit/util/lib.rs index b3157b85ca0..a844057a4b0 100644 --- a/tests/unit/util/lib.rs +++ b/tests/unit/util/lib.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#![cfg_attr(test, feature(plugin, custom_derive, heap_api))] +#![cfg_attr(test, feature(plugin, custom_derive))] #![cfg_attr(test, plugin(plugins))] #![feature(alloc)]