From c1092ae8ce9fe11f934cb3d6deff524fd4427368 Mon Sep 17 00:00:00 2001 From: Bob Erikson Date: Fri, 28 Jun 2024 11:13:20 -0700 Subject: [PATCH] fix test Co-authored-by: Johan Lindell --- internal/scm/azuredevops/azuredevops_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/scm/azuredevops/azuredevops_test.go b/internal/scm/azuredevops/azuredevops_test.go index a26cfc33..b08d3249 100644 --- a/internal/scm/azuredevops/azuredevops_test.go +++ b/internal/scm/azuredevops/azuredevops_test.go @@ -25,6 +25,11 @@ func TestParseRepositoryReference(t *testing.T) { val: "my-repo", wantErr: true, }, + { + name: "too many parts", + val: "my-project/my-repo/more-data", + wantErr: true, + }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {