Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves CacheHashData test-only methods into tests module #33170

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

brooksprumo
Copy link
Contributor

@brooksprumo brooksprumo commented Sep 6, 2023

Problem

CacheHashData::load() and load_map() are only used within cache_hash_data.rs's tests, but they live outside the tests module.

Summary of Changes

Move the methods into the tests module.

@brooksprumo brooksprumo self-assigned this Sep 6, 2023
@brooksprumo brooksprumo changed the title Moves CacheHashData::load() into tests module Moves CacheHashData test-only methods into tests module Sep 6, 2023
@brooksprumo brooksprumo marked this pull request as ready for review September 6, 2023 18:56
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #33170 (82969ec) into master (5573a61) will increase coverage by 0.0%.
Report is 18 commits behind head on master.
The diff coverage is 87.9%.

@@           Coverage Diff           @@
##           master   #33170   +/-   ##
=======================================
  Coverage    82.0%    82.0%           
=======================================
  Files         785      785           
  Lines      211122   211204   +82     
=======================================
+ Hits       173328   173396   +68     
- Misses      37794    37808   +14     

Copy link
Contributor

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@brooksprumo brooksprumo merged commit f4816dc into solana-labs:master Sep 6, 2023
16 checks passed
@brooksprumo brooksprumo deleted the cache-hash-data/load branch September 6, 2023 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants