Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFix broken unit tests #16655
Fix broken unit tests #16655
Conversation
highfive
commented
Apr 29, 2017
highfive
commented
Apr 29, 2017
| @@ -694,6 +694,7 @@ impl DependencySet { | |||
| #[cfg(all(test, feature = "servo"))] | |||
| fn smoke_restyle_hints() { | |||
| use cssparser::Parser; | |||
| use selectors::parser::ComplexSelector; | |||
This comment has been minimized.
This comment has been minimized.
emilio
Apr 29, 2017
Member
The signature of note_selector changed, so this is probably not sufficient. :(
|
Could you also make
|
|
|
|
I fixed the selectors tests in #16659 |
|
I've made |
Is there any unit tests there? If so we should move them to The point of having separate crates for unit tests is to reduce compile times by not compiling large crates like |
|
I believe the idea was not exposing all the stuff in restyle_hints.rs, but I guess given we've already given up on that for the rest of the crate, it doesn't make a lot of sense, so I'll move it to |
|
|
I moved the unit test out of component/style and into tests/unit/style. |
|
From Travis:
|
|
Travis used an old revision for some reason. That error is impossible with the current code. |
|
@bors-servo r+ Thanks for this :) |
|
|
|
@bors-servo: r- |
|
@bors-servo: r=emilio |
|
|
Fix broken unit tests These are tests that only get run on TravisCI, apparently, so they were broken by be0139f and 32c624e without anybody noticing. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16655) <!-- Reviewable:end -->
|
|
jdm commentedApr 29, 2017
•
edited by larsbergstrom
These are tests that only get run on TravisCI, apparently, so they were broken by be0139f and 32c624e without anybody noticing.
This change is