test User:IsBot

bot-api-6.1
Zaur Abdulgalimov 2017-11-09 19:46:11 +03:00
parent bd1aa7e6ef
commit 5dbfec17f3
1 changed files with 1 additions and 1 deletions

View File

@ -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()