Fix some lints.
This commit is contained in:
parent
458a89724a
commit
6b0d3ce2a6
4 changed files with 8 additions and 8 deletions
|
@ -216,7 +216,7 @@ func TestMessageEntityIsBotCommand(t *testing.T) {
|
|||
func TestMessageEntityIsUrl(t *testing.T) {
|
||||
entity := MessageEntity{Type: "url"}
|
||||
|
||||
if !entity.IsUrl() {
|
||||
if !entity.IsURL() {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue