Skip to content

Conversation

Wwwsylvia
Copy link
Member

Add some test cases for validateMediaType in pack_test.go.

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.74%. Comparing base (f7a6126) to head (3a3d10e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #946   +/-   ##
=======================================
  Coverage   81.74%   81.74%           
=======================================
  Files          64       64           
  Lines        6119     6119           
=======================================
  Hits         5002     5002           
  Misses        788      788           
  Partials      329      329           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@Wwwsylvia Wwwsylvia changed the title tests: add unit tests for validateMediaType test: add unit tests for validateMediaType Apr 23, 2025
@Wwwsylvia Wwwsylvia merged commit 34a87ef into oras-project:main Apr 23, 2025
9 checks passed
@Wwwsylvia Wwwsylvia deleted the pack_test branch April 23, 2025 11:03
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