Skip to content

Commit ee89e2a

Browse files
zeripathnoerw
andauthored
Update services/pull/pull_test.go
Co-authored-by: Norwin <noerw@users.noreply.github.com>
1 parent f7843f6 commit ee89e2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/pull/pull_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func TestPullRequest_CommitMessageTrailersPattern(t *testing.T) {
1818
assert.False(t, commitMessageTrailersPattern.MatchString(""))
1919
assert.False(t, commitMessageTrailersPattern.MatchString("No trailer."))
2020
assert.False(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob <bob@example.com>\nNot a trailer due to following text."))
21-
assert.False(t, commitMessageTrailersPattern.MatchString("Message body not correctly separated from trailer section by empty line.\nSigned-of-by: Bob <bob@example.com>"))
21+
assert.False(t, commitMessageTrailersPattern.MatchString("Message body not correctly separated from trailer section by empty line.\nSigned-off-by: Bob <bob@example.com>"))
2222
// Valid trailer section
2323
assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob <bob@example.com>"))
2424
assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob <bob@example.com>\nOther-Trailer: Value"))

0 commit comments

Comments
 (0)