tests: Fix warning in unit tests

This commit is contained in:
Emilio Cobos Álvarez 2016-03-30 14:26:48 +02:00
parent 4460712a8f
commit 46829bd53c
2 changed files with 2 additions and 3 deletions

View file

@ -19,12 +19,11 @@ use hyper::status::StatusCode;
use msg::constellation_msg::PipelineId; use msg::constellation_msg::PipelineId;
use net::cookie::Cookie; use net::cookie::Cookie;
use net::cookie_storage::CookieStorage; 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::http_loader::{load, LoadError, HttpRequestFactory, HttpRequest, HttpResponse, HttpState};
use net::resource_thread::{AuthCacheEntry, CancellationListener}; use net::resource_thread::{AuthCacheEntry, CancellationListener};
use net_traits::{LoadData, CookieSource, LoadContext, IncludeSubdomains}; use net_traits::{LoadData, CookieSource, LoadContext, IncludeSubdomains};
use std::borrow::Cow; use std::borrow::Cow;
use std::collections::HashMap;
use std::io::{self, Write, Read, Cursor}; use std::io::{self, Write, Read, Cursor};
use std::sync::mpsc::Receiver; use std::sync::mpsc::Receiver;
use std::sync::{Arc, mpsc, RwLock}; use std::sync::{Arc, mpsc, RwLock};

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * 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/. */ * 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))] #![cfg_attr(test, plugin(plugins))]
#![feature(alloc)] #![feature(alloc)]