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")
|
||||||
|
|||||||
@@ -261,7 +261,7 @@ func TestQualityMatches(t *testing.T) {
|
|||||||
func TestSourceQualityPriority(t *testing.T) {
|
func TestSourceQualityPriority(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
tests := []struct {
|
tests := []struct {
|
||||||
name string
|
name string
|
||||||
source string
|
source string
|
||||||
target string
|
target string
|
||||||
|
|||||||
Reference in New Issue
Block a user