From babf59c248559cd291925cffcdb44477ee1d6979 Mon Sep 17 00:00:00 2001 From: Chmouel Boudjnah Date: Fri, 3 Feb 2023 13:11:50 +0100 Subject: [PATCH] adjust regexp for TestGiteaRetestAfterPush Signed-off-by: Chmouel Boudjnah --- test/gitea_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/gitea_test.go b/test/gitea_test.go index 954185565..998ddffe3 100644 --- a/test/gitea_test.go +++ b/test/gitea_test.go @@ -210,7 +210,7 @@ func TestGiteaConcurrencyExclusivenessMultipleRuns(t *testing.T) { func TestGiteaRetestAfterPush(t *testing.T) { topts := &tgitea.TestOpts{ - Regexp: regexp.MustCompile(`.*pr has.*failed`), + Regexp: regexp.MustCompile(`.*has failed`), TargetEvent: options.PullRequestEvent, YAMLFiles: map[string]string{ ".tekton/pr.yaml": "testdata/failures/pipelinerun-exit-1.yaml",