Fix integer type incompatibility warnings in specs
This commit is contained in:
parent
1b1f53a5e7
commit
8d48c3e48a
2 changed files with 9 additions and 9 deletions
|
|
@ -30,11 +30,11 @@ describe("trees", []() {
|
|||
|
||||
describe("making a parent node", [&]() {
|
||||
it("computes its offset and size based on its child nodes", [&]() {
|
||||
AssertThat(ts_tree_size(parent1), Equals(9));
|
||||
AssertThat(ts_tree_size(parent1), Equals<size_t>(9));
|
||||
});
|
||||
|
||||
it("computes its offset based on its first child", [&]() {
|
||||
AssertThat(ts_tree_offset(parent1), Equals(2));
|
||||
AssertThat(ts_tree_offset(parent1), Equals<size_t>(2));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue