all repos — honk @ 6dc14843423cde8c71228c26493b6135a73da059

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}