diff options
author | Cameron McCormack <cam@mcc.id.au> | 2017-10-14 15:45:30 +0800 |
---|---|---|
committer | Cameron McCormack <cam@mcc.id.au> | 2017-10-14 15:45:30 +0800 |
commit | 252ff2f7c5eb3c54c15f545688e0b21cbd62482e (patch) | |
tree | c5ca1253863dac819bc5ad59521cade53be1509b | |
parent | 86a5135ffaa60d4743b6f6950fc395c2615e85ba (diff) | |
download | servo-252ff2f7c5eb3c54c15f545688e0b21cbd62482e.tar.gz servo-252ff2f7c5eb3c54c15f545688e0b21cbd62482e.zip |
style: Remove Servo_GetStyleVariables test special case.
-rw-r--r-- | tests/unit/stylo/build.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/unit/stylo/build.rs b/tests/unit/stylo/build.rs index bb05d97c671..e620bbdf1cc 100644 --- a/tests/unit/stylo/build.rs +++ b/tests/unit/stylo/build.rs @@ -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(); } } |