all repos — honk @ 1ad0df361f9ce2f9a3b4fcc1bab70a0584a06500

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}