fix: resolve nil pointer dereference in ExtractContentWithCSS test

This commit is contained in:
Arik Jones (aider)
2024-09-21 15:59:08 -05:00
parent 2fd411ce65
commit 6ff44f81bb
2 changed files with 6 additions and 8 deletions

View File

@@ -70,6 +70,9 @@ func TestGetOverrides(t *testing.T) {
}
func TestExtractContentWithCSS(t *testing.T) {
// Initialize logger for testing
logger = log.New(ioutil.Discard, "", 0)
html := `
<html>
<body>