Fix error message
This commit is contained in:
parent
8bb9182901
commit
992dc7da05
|
@ -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 {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user