Skip to content

Commit

Permalink
Fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim committed Jan 17, 2023
1 parent 98c80a0 commit 448a2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/symbolicator-service/src/services/cacher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ mod tests {
let cacher = Cacher::new(cache, shared_cache);

let fut = cacher.compute_memoized(TestCacheItem::new("foo"));
assert_eq!(std::mem::size_of_val(&fut), 824);
assert_eq!(std::mem::size_of_val(&fut), 816);
}

/// This test asserts that the cache is served from outdated cache files, and that a computation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ mod tests {

let module = ("foo", DebugId::nil());
let fut = provider.load_cfi_module(&module);
assert_eq!(std::mem::size_of_val(&fut), 880);
assert_eq!(std::mem::size_of_val(&fut), 872);

let req = FindObject {
filetypes: &[],
Expand All @@ -555,7 +555,7 @@ mod tests {
scope: Scope::Global,
};
let fut = obj.find(req);
assert_eq!(std::mem::size_of_val(&fut), 4864);
assert_eq!(std::mem::size_of_val(&fut), 4608);

let req = FetchCfiCache {
object_type: Default::default(),
Expand Down

0 comments on commit 448a2ee

Please sign in to comment.