Skip to content

Commit

Permalink
introduce testdata folder
Browse files Browse the repository at this point in the history
  • Loading branch information
kubegu committed May 1, 2024
1 parent 33fff6e commit e369c57
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library-le/game-index_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

func TestAvailability(t *testing.T) {
fileReader := loadTestData("game_search_example.html")
fileReader := loadTestData("testdata/game_search_example.html")

games, _ := parseGameSearchResult(fileReader)

Expand Down
2 changes: 1 addition & 1 deletion library-le/search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

func TestParseMovieCopiesResult(t *testing.T) {
testResponse := loadTestData("movie_copies_example.html")
testResponse := loadTestData("testdata/movie_copies_example.html")
movies := parseMovieCopiesPage("Terminator - Genesis", testResponse)
Equal(t, 6, len(movies))

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e369c57

Please sign in to comment.