Support debug mode.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-10-04 22:23:13 +08:00
parent 541efa4e5b
commit f80e79f1c6
4 changed files with 11 additions and 2 deletions
+1
View File
@@ -69,6 +69,7 @@ func TestSendMessage(t *testing.T) {
Token: os.Getenv("TELEGRAM_TOKEN"),
To: []string{os.Getenv("TELEGRAM_TO"), "中文ID", "1234567890"},
Message: []string{"Test Telegram Chat Bot From Travis or Local", " "},
Debug: false,
},
}