Fix error message

pull/42/head
178inaba 2017-04-24 17:33:45 +09:00
parent 8bb9182901
commit 992dc7da05
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)
}
},
)