From 992dc7da0511828fdd4529c01b04f70b4853d42e Mon Sep 17 00:00:00 2001 From: 178inaba <178inaba@users.noreply.github.com> Date: Mon, 24 Apr 2017 17:33:45 +0900 Subject: [PATCH] Fix error message --- accounts_test.go | 2 +- cmd/mstdn/cmd_follow_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts_test.go b/accounts_test.go index 1e3a0a7..cc05d1b 100644 --- a/accounts_test.go +++ b/accounts_test.go @@ -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 { diff --git a/cmd/mstdn/cmd_follow_test.go b/cmd/mstdn/cmd_follow_test.go index f4c053b..e4f43c9 100644 --- a/cmd/mstdn/cmd_follow_test.go +++ b/cmd/mstdn/cmd_follow_test.go @@ -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) } }, )