Skip to content

Commit

Permalink
Fix overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 7, 2023
1 parent 5f4b88c commit 3d60120
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/util/leak_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ impl LeakGuard {
impl Drop for LeakGuard {
fn drop(&mut self) {
let actual = wasm_bindgen::externref_heap_live_count();
assert_eq!(
actual,
self.expected,
"leaked {} externrefs",
actual - self.expected
);
assert_eq!(actual, self.expected, "externref live count should match");
}
}

0 comments on commit 3d60120

Please sign in to comment.