Fix typo in container registry domain

This commit is contained in:
Peter Stöckli 2023-02-09 09:50:58 +01:00
parent 8f0eb3db4f
commit 5e67446123

View File

@ -144,8 +144,8 @@ mod tests {
(" image: nginx", Ok((" image: ", "nginx"))), (" image: nginx", Ok((" image: ", "nginx"))),
(" image: library/nginx", Ok((" image: ", "library/nginx"))), (" image: library/nginx", Ok((" image: ", "library/nginx"))),
( (
" image: gchr.io/library/nginx", " image: ghcr.io/library/nginx",
Ok((" image: ", "gchr.io/library/nginx")), Ok((" image: ", "ghcr.io/library/nginx")),
), ),
(" image: nginx # comment", Ok((" image: ", "nginx"))), (" image: nginx # comment", Ok((" image: ", "nginx"))),
(" image: test-hyphen", Ok((" image: ", "test-hyphen"))), (" image: test-hyphen", Ok((" image: ", "test-hyphen"))),