mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
fix: resolve nil pointer dereference in ExtractContentWithCSS test
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user