Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed May 17, 2012
1 parent f19d3b5 commit f357e53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/servo/content/js.rs
Expand Up @@ -112,10 +112,11 @@ mod test {
let gc = jsglobal::global_class();
cx.new_global(gc).chain {
|glob|
str::bytes("x = 1;") {
str::as_bytes("x = 1;") {
|bytes|
cx.evaluate_script(glob, bytes, "test", 1u);
}
cx.evaluate_script(glob, bytes, "test", 1u)
};
ok(())
};
}

Expand Down
8 changes: 4 additions & 4 deletions src/servo/layout/base.rs
Expand Up @@ -179,10 +179,10 @@ mod test {
tree::add_child(s, n3, n1);
tree::add_child(s, n3, n2);

let b0 = n0.construct_boxes_for_subtree();
let b1 = n1.construct_boxes_for_subtree();
let b2 = n2.construct_boxes_for_subtree();
let b3 = n3.construct_boxes_for_subtree();
let b0 = n0.construct_boxes();
let b1 = n1.construct_boxes();
let b2 = n2.construct_boxes();
let b3 = n3.construct_boxes();

tree::add_child(btree, b3, b0);
tree::add_child(btree, b3, b1);
Expand Down

0 comments on commit f357e53

Please sign in to comment.