need logger to not crash
This commit is contained in:
parent
be5b1ae987
commit
a452ef3188
|
@ -2,11 +2,13 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestHooterize(t *testing.T) {
|
func TestHooterize(t *testing.T) {
|
||||||
|
dlog = log.Default()
|
||||||
fd, err := os.Open("lasthoot.html")
|
fd, err := os.Open("lasthoot.html")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue