oras-project / oras

OCI registry client - managing content like artifacts, images, packages
https://oras.land
Apache License 2.0
1.52k stars 181 forks source link

refactor: Take private memory store out of test function #1453

Closed TerryHowe closed 4 months ago

TerryHowe commented 4 months ago

What this PR does / why we need it:

Take private functions out of test function so that they can be accessed by other tests. Also, changes it so the return values are declared rather than array indexes.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.47%. Comparing base (cdb60fc) to head (97b43c7).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1453 +/- ## ======================================= Coverage 85.47% 85.47% ======================================= Files 108 108 Lines 3827 3827 ======================================= Hits 3271 3271 Misses 333 333 Partials 223 223 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.