Skip to content

Commit ee89e2a

Browse files
zeripathnoerw
andauthored
Update services/pull/pull_test.go
Co-authored-by: Norwin <[email protected]>
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

Lines changed: 1 addition & 1 deletion
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 <[email protected]>\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 <[email protected]>"))
21+
assert.False(t, commitMessageTrailersPattern.MatchString("Message body not correctly separated from trailer section by empty line.\nSigned-off-by: Bob <[email protected]>"))
2222
// Valid trailer section
2323
assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob <[email protected]>"))
2424
assert.True(t, commitMessageTrailersPattern.MatchString("Signed-off-by: Bob <[email protected]>\nOther-Trailer: Value"))

0 commit comments

Comments
 (0)