test User:IsBot
parent
bd1aa7e6ef
commit
5dbfec17f3
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestUserStringWith(t *testing.T) {
|
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" {
|
if user.String() != "Test Test" {
|
||||||
t.Fail()
|
t.Fail()
|
||||||
|
|
Loading…
Reference in New Issue