mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Fix warnings in unit tests
This commit is contained in:
parent
d55884d73e
commit
96c69f852c
7 changed files with 17 additions and 36 deletions
|
@ -2,14 +2,13 @@
|
|||
* 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(test)]
|
||||
#![feature(plugin)]
|
||||
#![cfg_attr(test, feature(core_intrinsics))]
|
||||
#![plugin(plugins)]
|
||||
#![feature(core_intrinsics)]
|
||||
|
||||
extern crate app_units;
|
||||
extern crate cssparser;
|
||||
extern crate euclid;
|
||||
extern crate msg;
|
||||
extern crate rustc_serialize;
|
||||
extern crate selectors;
|
||||
#[macro_use(atom, ns)] extern crate string_cache;
|
||||
|
@ -18,14 +17,14 @@ extern crate style_traits;
|
|||
extern crate url;
|
||||
extern crate util;
|
||||
|
||||
#[cfg(test)] mod attr;
|
||||
#[cfg(test)] mod logical_geometry;
|
||||
#[cfg(test)] mod media_queries;
|
||||
#[cfg(test)] mod properties;
|
||||
#[cfg(test)] mod stylesheets;
|
||||
#[cfg(test)] mod viewport;
|
||||
mod attr;
|
||||
mod logical_geometry;
|
||||
mod media_queries;
|
||||
mod properties;
|
||||
mod stylesheets;
|
||||
mod viewport;
|
||||
|
||||
#[cfg(test)] mod writing_modes {
|
||||
mod writing_modes {
|
||||
use style::logical_geometry::WritingMode;
|
||||
use style::properties::{INITIAL_SERVO_VALUES, ComputedValues, get_writing_mode};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue