Skip to content

Commit babf59c

Browse files
committed
adjust regexp for TestGiteaRetestAfterPush
Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent dc38dc5 commit babf59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gitea_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func TestGiteaConcurrencyExclusivenessMultipleRuns(t *testing.T) {
210210

211211
func TestGiteaRetestAfterPush(t *testing.T) {
212212
topts := &tgitea.TestOpts{
213-
Regexp: regexp.MustCompile(`.*pr has.*failed`),
213+
Regexp: regexp.MustCompile(`.*has <b>failed</b>`),
214214
TargetEvent: options.PullRequestEvent,
215215
YAMLFiles: map[string]string{
216216
".tekton/pr.yaml": "testdata/failures/pipelinerun-exit-1.yaml",

0 commit comments

Comments
 (0)