chore: update default template
This commit is contained in:
parent
ba1db08ad2
commit
602b560c4d
@ -453,7 +453,7 @@ func (p Plugin) Message() []string {
|
|||||||
)}
|
)}
|
||||||
}
|
}
|
||||||
|
|
||||||
return []string{fmt.Sprintf("%s*%s* [%s](%s)『%s』by %s",
|
return []string{fmt.Sprintf("%s *%s*: [%s](%s)『%s』by %s",
|
||||||
icon,
|
icon,
|
||||||
p.Build.Status,
|
p.Build.Status,
|
||||||
p.Repo.FullName,
|
p.Repo.FullName,
|
||||||
|
@ -49,7 +49,7 @@ func TestDefaultMessageFormat(t *testing.T) {
|
|||||||
|
|
||||||
message := plugin.Message()
|
message := plugin.Message()
|
||||||
|
|
||||||
assert.Equal(t, []string{"✅*success* [appleboy/go-hello](https://github.com/appleboy/go-hello)『update travis』by Bo-Yi Wu"}, message)
|
assert.Equal(t, []string{"✅ *success*: [appleboy/go-hello](https://github.com/appleboy/go-hello)『update travis』by Bo-Yi Wu"}, message)
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestDefaultMessageFormatFromGitHub(t *testing.T) {
|
func TestDefaultMessageFormatFromGitHub(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user