mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make tests/units/* compile without warnings in non-test mode
(if not usefully)
This commit is contained in:
parent
9d898cd460
commit
2a5c4133f9
7 changed files with 29 additions and 24 deletions
|
@ -2,6 +2,8 @@
|
|||
* 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)]
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gfx;
|
||||
extern crate gfx_traits;
|
||||
|
@ -13,7 +15,5 @@ extern crate profile_traits;
|
|||
extern crate style;
|
||||
extern crate time;
|
||||
|
||||
#[cfg(test)]
|
||||
mod interactive_time;
|
||||
#[cfg(test)]
|
||||
mod paint_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue