Skip to content

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

Merged
qweeah merged 2 commits into
oras-project:mainfrom
TerryHowe:graph-test-refactor
Jul 23, 2024
Merged

refactor: Take private memory store out of test function#1453
qweeah merged 2 commits into
oras-project:mainfrom
TerryHowe:graph-test-refactor

Conversation

@TerryHowe

Copy link
Copy Markdown
Member

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.

Signed-off-by: Terry Howe <terrylhowe@gmail.com>
@codecov

codecov Bot commented Jul 22, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

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

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@qweeah qweeah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, thanks @TerryHowe

@qweeah qweeah merged commit 18f496c into oras-project:main Jul 23, 2024
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