We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4dad18 commit 52caf0bCopy full SHA for 52caf0b
1 file changed
ociref/reference_test.go
@@ -363,6 +363,13 @@ var parseReferenceTests = []struct {
363
input: "[fe80::1%@invalidzone]:5000/repo",
364
wantErr: `invalid reference syntax`,
365
},
366
+ {
367
+ input: "index.docker.io/foo",
368
+ wantRef: Reference{
369
+ Host: "docker.io",
370
+ Repository: "library/foo",
371
+ },
372
373
}
374
375
func TestParseReference(t *testing.T) {
0 commit comments