Skip to content

Commit

Permalink
style: Remove Servo_GetStyleVariables test special case.
Browse files Browse the repository at this point in the history
  • Loading branch information
heycam committed Oct 14, 2017
1 parent 86a5135 commit 252ff2f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unit/stylo/build.rs
Expand Up @@ -34,11 +34,7 @@ fn main() {
for line in r.lines() {
let s = line.unwrap();
for cap in matcher.captures_iter(&s) {
// GetStyleVariables is a Servo_* function, but temporarily defined
// on the Gecko side.
if &cap[1] != "GetStyleVariables" {
w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap();
}
w.write_all(format!(" [ Servo_{0}, bindings::Servo_{0} ];\n", &cap[1]).as_bytes()).unwrap();
}
}

Expand Down

0 comments on commit 252ff2f

Please sign in to comment.