refactor: Successor getting with separation of concerns #1443
85.59% of diff hit (target 80.00%)
View this Pull Request on Codecov
85.59% of diff hit (target 80.00%)
Annotations
Check warning on line 77 in cmd/oras/internal/display/status/text.go
codecov / codecov/patch
cmd/oras/internal/display/status/text.go#L77
Added line #L77 was not covered by tests
Check warning on line 170 in cmd/oras/internal/display/status/text.go
codecov / codecov/patch
cmd/oras/internal/display/status/text.go#L170
Added line #L170 was not covered by tests
Check warning on line 76 in cmd/oras/internal/display/status/tty.go
codecov / codecov/patch
cmd/oras/internal/display/status/tty.go#L75-L76
Added lines #L75 - L76 were not covered by tests
Check warning on line 156 in cmd/oras/root/attach.go
codecov / codecov/patch
cmd/oras/root/attach.go#L156
Added line #L156 was not covered by tests
Check warning on line 202 in cmd/oras/root/cp.go
codecov / codecov/patch
cmd/oras/root/cp.go#L202
Added line #L202 was not covered by tests
Check warning on line 206 in cmd/oras/root/cp.go
codecov / codecov/patch
cmd/oras/root/cp.go#L205-L206
Added lines #L205 - L206 were not covered by tests
Check warning on line 85 in internal/testutils/fetcher.go
codecov / codecov/patch
internal/testutils/fetcher.go#L85
Added line #L85 was not covered by tests
Check warning on line 99 in internal/testutils/fetcher.go
codecov / codecov/patch
internal/testutils/fetcher.go#L99
Added line #L99 was not covered by tests
Check warning on line 121 in internal/testutils/fetcher.go
codecov / codecov/patch
internal/testutils/fetcher.go#L121
Added line #L121 was not covered by tests