Merge pull request #42 from 178inaba/error_messages

Fix error message
pull/44/head
mattn 2017-04-24 19:33:50 +09:00 committed by GitHub
commit 321e7e8edb
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ func TestGetAccount(t *testing.T) {
})
a, err := client.GetAccount(context.Background(), 1)
if err == nil {
t.Fatalf("should not be fail: %v", err)
t.Fatalf("should be fail: %v", err)
}
a, err = client.GetAccount(context.Background(), 1234567)
if err != nil {

View File

@ -60,7 +60,7 @@ func TestCmdFollow(t *testing.T) {
func(app *cli.App) {
err := app.Run([]string{"mstdn", "follow", "different_id"})
if err == nil {
t.Fatalf("should not be fail: %v", err)
t.Fatalf("should be fail: %v", err)
}
},
)