Skip to content

test(wasm): Cover registry::update's outcome matrix - #1974

Merged
gtema merged 1 commit into
mainfrom
fix1
Sep 3, 2026
Merged

test(wasm): Cover registry::update's outcome matrix#1974
gtema merged 1 commit into
mainfrom
fix1

Conversation

@gtema

@gtema gtema commented Sep 3, 2026

Copy link
Copy Markdown
Owner

lockfile.rs and registry.rs's install/remove/verify/lookup paths already
had solid coverage (a unit test and two integration tests respectively),
but registry::update was untested end-to-end: no test exercised Updated,
Declined, UpToDate, SkippedPinned, NotInIndex, or its name/--all and
pinned-by-name error paths.

Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

lockfile.rs and registry.rs's install/remove/verify/lookup paths already
had solid coverage (a unit test and two integration tests respectively),
but registry::update was untested end-to-end: no test exercised Updated,
Declined, UpToDate, SkippedPinned, NotInIndex, or its name/--all and
pinned-by-name error paths.

Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit 97e6156 into main Sep 3, 2026
14 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Sep 3, 2026
@gtema
gtema deleted the fix1 branch September 3, 2026 15:42
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.

1 participant