add delete command

This commit is contained in:
Yasuhiro Matsumoto 2017-04-20 02:04:20 +09:00
parent 293a9e0aba
commit 1a101faaae
4 changed files with 76 additions and 0 deletions

View file

@ -13,6 +13,8 @@ func testWithServer(h http.HandlerFunc, testFunc func(*cli.App)) string {
ts := httptest.NewServer(h)
defer ts.Close()
cli.OsExiter = func(n int) {}
client := mastodon.NewClient(&mastodon.Config{
Server: ts.URL,
ClientID: "foo",