all repos — honk @ 53d3bb8d953376a0725dc094eb578654df4131cb

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}