Skip to content

Commit

Permalink
Auto merge of #14149 - eth3lbert:snapbox-registry, r=weihanglo
Browse files Browse the repository at this point in the history
test: migrate registry and registry_auth to snapbox

### What does this PR try to resolve?

Part of #14039.

Migrate following to snapbox:

- `tests/testsuite/registry.rs`
- `tests/testsuite/registry_auth.rs`

### Additional information

Parameterize shared logic over inline snapshots to prevent the content from being appended multiple times in `str![]` when it's called multiple times within a reusable function.

Big thanks to `@weihanglo` for helping me out!
  • Loading branch information
bors committed Jun 27, 2024
2 parents 942536c + b7c0054 commit 6ed64a7
Show file tree
Hide file tree
Showing 2 changed files with 1,348 additions and 886 deletions.
Loading

0 comments on commit 6ed64a7

Please sign in to comment.