Skip to content

Commit

Permalink
Move Stylo unit tests out of tests/unit
Browse files Browse the repository at this point in the history
This will allow writing `tests/unit/*` in the root `Cargo.toml` file
to designate Servo unit tests.
  • Loading branch information
SimonSapin committed Dec 7, 2017
1 parent 1a950d2 commit 05a364c
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/geckolib/Cargo.toml
Expand Up @@ -33,4 +33,4 @@ style = {path = "../../components/style", features = ["gecko"]}
style_traits = {path = "../../components/style_traits"}

[dev-dependencies]
stylo_tests = {path = "../../tests/unit/stylo"}
stylo_tests = {path = "./tests"}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/unit/style/lib.rs
Expand Up @@ -32,7 +32,7 @@ mod parsing;
mod properties;
mod rule_tree;
mod size_of;
#[path = "../stylo/specified_values.rs"]
#[path = "../../../ports/geckolib/tests/specified_values.rs"]
mod specified_values;
mod str;
mod stylesheets;
Expand Down

0 comments on commit 05a364c

Please sign in to comment.