refactor: use the built-in max/min to simplify the code [skip changelog]#941
Merged
Codecov / codecov/project
succeeded
Jun 24, 2025 in 0s
61.59% (-0.01%) compared to 6d9782e
View this Pull Request on Codecov
61.59% (-0.01%) compared to 6d9782e
Details
Codecov Report
Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
Project coverage is 61.59%. Comparing base (
6d9782e) to head (887767f).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| gateway/backend_blocks.go | 0.00% | 1 Missing |
@@ Coverage Diff @@
## main #941 +/- ##
==========================================
- Coverage 61.59% 61.59% -0.01%
==========================================
Files 254 254
Lines 31400 31396 -4
==========================================
- Hits 19341 19337 -4
+ Misses 10487 10486 -1
- Partials 1572 1573 +1 | Files with missing lines | Coverage Δ | |
|---|---|---|
| ipld/merkledag/coding.go | 77.86% <100.00%> (-0.17%) |
⬇️ |
| gateway/backend_blocks.go | 46.40% <0.00%> (+0.23%) |
⬆️ |
... and 9 files with indirect coverage changes
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading