Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

LoadedPrograms::extract() code cleanup and unit tests #31604

Merged
merged 1 commit into from
May 12, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented May 11, 2023

Problem

The code in extract() API can use some cleanup and more unit tests.

Summary of Changes

Moved some of the conditions and checks in a separate function. Added unit tests specific to the new function.

Fixes #

@pgarg66 pgarg66 marked this pull request as ready for review May 11, 2023 18:12
@pgarg66 pgarg66 requested a review from Lichtso May 11, 2023 18:12
@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Merging #31604 (833c7e1) into master (76d1c38) will increase coverage by 0.0%.
The diff coverage is 95.3%.

@@           Coverage Diff           @@
##           master   #31604   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         733      733           
  Lines      206474   206508   +34     
=======================================
+ Hits       167864   167912   +48     
+ Misses      38610    38596   -14     

@pgarg66 pgarg66 merged commit a649459 into solana-labs:master May 12, 2023
@pgarg66 pgarg66 deleted the clean-and-test branch May 12, 2023 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants