Skip to content

Commit

Permalink
Small change to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
DelSkayn committed Jan 29, 2024
1 parent c834d57 commit 6c782c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/allocator/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ mod test {
// every object takes atleast a single byte.
// So the gc must have collected atleast some of the recursive objects if the difference is
// smaller then number of objects created.
assert!(before.abs_diff(after) < 100_000)
assert!(after.saturating_sub(before) < 100_000)
}
}

0 comments on commit 6c782c0

Please sign in to comment.