all repos — honk @ ed3514075c14d78e5bbce12509b2bb84faecde5c

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}