Fix warnings in unit tests

This commit is contained in:
Matt Brubeck 2016-05-12 09:16:12 -07:00
parent d55884d73e
commit 96c69f852c
7 changed files with 17 additions and 36 deletions

View file

@ -2,18 +2,12 @@
* 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))]
#![cfg_attr(test, plugin(plugins))]
#![feature(alloc)]
#![cfg(test)]
extern crate alloc;
extern crate app_units;
extern crate euclid;
extern crate libc;
extern crate util;
#[cfg(test)] mod cache;
#[cfg(test)] mod opts;
#[cfg(test)] mod str;
#[cfg(test)] mod thread;
#[cfg(test)] mod prefs;
mod cache;
mod opts;
mod prefs;
mod str;
mod thread;