Skip to content

Commit

Permalink
fix(hls): ignore write error
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkness4 committed Nov 12, 2023
1 parent 216e56a commit b7497ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hls/hls_downloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type DownloaderTestSuite struct {
func (suite *DownloaderTestSuite) BeforeTest(suiteName, testName string) {
suite.server = httptest.NewServer(
http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
res.Write(fixture1)
_, _ = res.Write(fixture1)
}),
)
suite.impl = NewDownloader(suite.server.Client(), &log.Logger, 10, suite.server.URL)
Expand Down

0 comments on commit b7497ae

Please sign in to comment.