chore: formatting
This commit is contained in:
@@ -443,10 +443,18 @@ func TestAllAnimeClientImplementsInterfaces(t *testing.T) {
|
|||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
var (
|
var (
|
||||||
_ interface{ Search(context.Context, string, string) ([]searchResult, error) } = &allAnimeClient{}
|
_ interface {
|
||||||
_ interface{ GetEpisodeSources(context.Context, string, string, string) ([]StreamSource, error) } = &allAnimeClient{}
|
Search(context.Context, string, string) ([]searchResult, error)
|
||||||
_ interface{ GetEpisodes(context.Context, string, string) ([]string, error) } = &allAnimeClient{}
|
} = &allAnimeClient{}
|
||||||
_ interface{ GetAvailableEpisodes(context.Context, string) (AvailableEpisodes, error) } = &allAnimeClient{}
|
_ interface {
|
||||||
|
GetEpisodeSources(context.Context, string, string, string) ([]StreamSource, error)
|
||||||
|
} = &allAnimeClient{}
|
||||||
|
_ interface {
|
||||||
|
GetEpisodes(context.Context, string, string) ([]string, error)
|
||||||
|
} = &allAnimeClient{}
|
||||||
|
_ interface {
|
||||||
|
GetAvailableEpisodes(context.Context, string) (AvailableEpisodes, error)
|
||||||
|
} = &allAnimeClient{}
|
||||||
)
|
)
|
||||||
|
|
||||||
t.Log("allAnimeClient implements required interfaces")
|
t.Log("allAnimeClient implements required interfaces")
|
||||||
|
|||||||
Reference in New Issue
Block a user