all repos — honk @ 0147b6189e2ca3c83b33506bb7d222eb3dc8beaf

my fork of honk

hoot_test.go (view raw)

 1package main
 2
 3import (
 4	"fmt"
 5	"os"
 6	"testing"
 7)
 8
 9func TestHooterize(t *testing.T) {
10	fd, err := os.Open("lasthoot.html")
11	if err != nil {
12		return
13	}
14	seen := make(map[string]bool)
15	hoots := hootextractor(fd, "lasthoot.html", seen)
16	fmt.Printf("hoots: %s\n", hoots)
17}