You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
"testing"
|
|
)
|
|
|
|
func TestHooterize(t *testing.T) {
|
|
fd, err := os.Open("lasthoot.html")
|
|
if err != nil {
|
|
return
|
|
}
|
|
seen := make(map[string]bool)
|
|
hoots := hootextractor(fd, "lasthoot.html", seen)
|
|
fmt.Printf("hoots: %s\n", hoots)
|
|
}
|