From ee89e2a5a6ec67d55839b7d8fa14f9936cfa16cd Mon Sep 17 00:00:00 2001 From: zeripath Date: Fri, 25 Jun 2021 12:37:19 +0100 Subject: [PATCH] Update services/pull/pull_test.go Co-authored-by: Norwin --- services/pull/pull_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pull/pull_test.go b/services/pull/pull_test.go index c77a8f23636b0..81627ebb77bcf 100644 --- a/services/pull/pull_test.go +++ b/services/pull/pull_test.go @@ -18,7 +18,7 @@ func TestPullRequest_CommitMessageTrailersPattern(t *testing.T) { assert.False(t, commitMessageTrailersPattern.MatchString("")) assert.False(t, commitMessageTrailersPattern.MatchString("No trailer.")) assert.False(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob \nNot a trailer due to following text.")) - assert.False(t, commitMessageTrailersPattern.MatchString("Message body not correctly separated from trailer section by empty line.\nSigned-of-by: Bob ")) + assert.False(t, commitMessageTrailersPattern.MatchString("Message body not correctly separated from trailer section by empty line.\nSigned-off-by: Bob ")) // Valid trailer section assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob ")) assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob \nOther-Trailer: Value"))