Skip to content

Commit

Permalink
Fix compiler warnings in stylo unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrubeck committed Mar 22, 2017
1 parent 2fcbdb6 commit 4aded87
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions tests/unit/stylo/Cargo.toml
Expand Up @@ -15,17 +15,14 @@ doctest = false
testing = ["style/testing"]

[dependencies]
app_units = "0.4"
atomic_refcell = "0.1"
cssparser = "0.12"
env_logger = "0.4"
euclid = "0.11"
lazy_static = "0.2"
libc = "0.2"
log = {version = "0.3.5", features = ["release_max_level_info"]}
num_cpus = "1.1.0"
parking_lot = "0.3"
rayon = "0.6"
selectors = {path = "../../../components/selectors"}
servo_url = {path = "../../../components/url"}
style_traits = {path = "../../../components/style_traits"}
Expand Down
4 changes: 0 additions & 4 deletions tests/unit/stylo/lib.rs
Expand Up @@ -2,17 +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/. */

extern crate app_units;
extern crate atomic_refcell;
extern crate cssparser;
extern crate env_logger;
extern crate euclid;
extern crate geckoservo;
#[macro_use] extern crate lazy_static;
#[macro_use] extern crate log;
extern crate num_cpus;
extern crate parking_lot;
extern crate rayon;
extern crate selectors;
extern crate servo_url;
#[macro_use] extern crate style;
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/stylo/sanity_checks.rs
Expand Up @@ -31,8 +31,8 @@ macro_rules! check_enum_value_non_static {
// similar, because we'd need the foreign atom symbols to link.
#[test]
fn assert_basic_pseudo_elements() {
let mut saw_before = false;
let mut saw_after = false;
let saw_before;
let saw_after;

macro_rules! pseudo_element {
(":before", $atom:expr, false) => {
Expand Down

0 comments on commit 4aded87

Please sign in to comment.