test User:IsBot
This commit is contained in:
parent
bd1aa7e6ef
commit
5dbfec17f3
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import (
|
|||
)
|
||||
|
||||
func TestUserStringWith(t *testing.T) {
|
||||
user := tgbotapi.User{0, "Test", "Test", "", "en"}
|
||||
user := tgbotapi.User{0, "Test", "Test", "", "en", false}
|
||||
|
||||
if user.String() != "Test Test" {
|
||||
t.Fail()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue