fix: indentation
This commit is contained in:
1 parent
458e25cf79
commit
dbe1600632
1 file changed
+1
-1
@@ -327,7 +327,7 @@ func TestPostHandlerCreatePostTitleFetcherErrors(t *testing.T) {
|
||||
{name: "Generic", err: errors.New("timeout"), wantStatus: http.StatusBadGateway, wantMsg: "Failed to fetch title"},
|
||||
}
|
||||
|
||||
for _, tc := range tests {
|
||||
for _, tc := range tests {
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
repo := testutils.NewPostRepositoryStub()
|
||||
fetcher := &testutils.TitleFetcherStub{FetchTitleFn: func(ctx context.Context, rawURL string) (string, error) {
|
||||
|
||||
Reference in new issue
Block a user