chore: formatting
This commit is contained in:
@@ -443,10 +443,18 @@ func TestAllAnimeClientImplementsInterfaces(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
var (
|
||||
_ interface{ Search(context.Context, string, string) ([]searchResult, 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{}
|
||||
_ interface {
|
||||
Search(context.Context, string, string) ([]searchResult, 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")
|
||||
|
||||
@@ -261,7 +261,7 @@ func TestQualityMatches(t *testing.T) {
|
||||
func TestSourceQualityPriority(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
tests := []struct {
|
||||
tests := []struct {
|
||||
name string
|
||||
source string
|
||||
target string
|
||||
|
||||
Reference in New Issue
Block a user