mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
fix make check
This commit is contained in:
parent
f19d3b506f
commit
f357e53863
2 changed files with 8 additions and 7 deletions
|
@ -112,10 +112,11 @@ mod test {
|
||||||
let gc = jsglobal::global_class();
|
let gc = jsglobal::global_class();
|
||||||
cx.new_global(gc).chain {
|
cx.new_global(gc).chain {
|
||||||
|glob|
|
|glob|
|
||||||
str::bytes("x = 1;") {
|
str::as_bytes("x = 1;") {
|
||||||
|bytes|
|
|bytes|
|
||||||
cx.evaluate_script(glob, bytes, "test", 1u);
|
cx.evaluate_script(glob, bytes, "test", 1u)
|
||||||
}
|
};
|
||||||
|
ok(())
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,10 +179,10 @@ mod test {
|
||||||
tree::add_child(s, n3, n1);
|
tree::add_child(s, n3, n1);
|
||||||
tree::add_child(s, n3, n2);
|
tree::add_child(s, n3, n2);
|
||||||
|
|
||||||
let b0 = n0.construct_boxes_for_subtree();
|
let b0 = n0.construct_boxes();
|
||||||
let b1 = n1.construct_boxes_for_subtree();
|
let b1 = n1.construct_boxes();
|
||||||
let b2 = n2.construct_boxes_for_subtree();
|
let b2 = n2.construct_boxes();
|
||||||
let b3 = n3.construct_boxes_for_subtree();
|
let b3 = n3.construct_boxes();
|
||||||
|
|
||||||
tree::add_child(btree, b3, b0);
|
tree::add_child(btree, b3, b0);
|
||||||
tree::add_child(btree, b3, b1);
|
tree::add_child(btree, b3, b1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue