mirror of
https://github.com/rancher/os.git
synced 2025-09-03 07:44:21 +00:00
Bump a few libs to latest tagged versions
This commit is contained in:
10
vendor/github.com/docker/distribution/reference/regexp_test.go
generated
vendored
10
vendor/github.com/docker/distribution/reference/regexp_test.go
generated
vendored
@@ -119,6 +119,11 @@ func TestHostRegexp(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestFullNameRegexp(t *testing.T) {
|
||||
if anchoredNameRegexp.NumSubexp() != 2 {
|
||||
t.Fatalf("anchored name regexp should have two submatches: %v, %v != 2",
|
||||
anchoredNameRegexp, anchoredNameRegexp.NumSubexp())
|
||||
}
|
||||
|
||||
testcases := []regexpMatch{
|
||||
{
|
||||
input: "",
|
||||
@@ -401,6 +406,11 @@ func TestFullNameRegexp(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestReferenceRegexp(t *testing.T) {
|
||||
if ReferenceRegexp.NumSubexp() != 3 {
|
||||
t.Fatalf("anchored name regexp should have three submatches: %v, %v != 3",
|
||||
ReferenceRegexp, ReferenceRegexp.NumSubexp())
|
||||
}
|
||||
|
||||
testcases := []regexpMatch{
|
||||
{
|
||||
input: "registry.com:8080/myapp:tag",
|
||||
|
Reference in New Issue
Block a user