need logger to not crash

This commit is contained in:
Ted Unangst 2022-07-03 16:07:23 -04:00
parent be5b1ae987
commit a452ef3188
1 changed files with 2 additions and 0 deletions

View File

@ -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