Skip to content

Commit

Permalink
tests: 🔧
Browse files Browse the repository at this point in the history
  • Loading branch information
iawia002 committed May 9, 2020
1 parent 8d418b2 commit 20eb139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
14 changes: 0 additions & 14 deletions extractors/youtube/youtube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,13 @@ func TestYoutube(t *testing.T) {
Title: "Multifandom Mashup 2017",
},
},
{
name: "normal test",
args: test.Args{
URL: "https://youtu.be/z8eFzkfto2w",
Title: "Circle Of Love | Rudy Mancuso",
},
},
{
name: "signature test",
args: test.Args{
URL: "https://www.youtube.com/watch?v=ZtgzKBrU1GY",
Title: "Halo Infinite - E3 2019 - Discover Hope",
},
},
{
name: "normal test",
args: test.Args{
URL: "https://www.youtube.com/watch?v=ASPku-eAZYs",
Title: "怪獸與葛林戴華德的罪行 | HD首版電影預告大首播 (Fantastic Beasts: The Crimes of Grindelwald)",
},
},
{
name: "playlist test",
args: test.Args{
Expand Down
4 changes: 2 additions & 2 deletions utils/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
)

func TestGetStringFromJson(t *testing.T) {
func TestGetStringFromJSON(t *testing.T) {
type args struct {
json string
path string
Expand Down Expand Up @@ -190,7 +190,7 @@ func TestDomain(t *testing.T) {
args: args{
url: "http://aa",
},
want: "Universal",
want: "",
},
}
for _, tt := range tests {
Expand Down

0 comments on commit 20eb139

Please sign in to comment.