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

test(bytes): document the cases being tested for equals/startsWith/endsWith #6163

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

lionel-rowe
Copy link
Contributor

Current tests are kinda confusing and unclear what's being tested. It could help resolve confusion like #6146 if there was a specific test case (startsWith() ... `true` where `source` starts with `prefix`) that could be pointed to as failing upon the proposed change.

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.52%. Comparing base (2d9e212) to head (984daab).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6163   +/-   ##
=======================================
  Coverage   96.52%   96.52%           
=======================================
  Files         536      536           
  Lines       40769    40769           
  Branches     6118     6118           
=======================================
  Hits        39351    39351           
  Misses       1374     1374           
  Partials       44       44           

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

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kt3k kt3k merged commit 689fb69 into denoland:main Oct 31, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants