package thread import ( "fmt" "testing" ) const testThread = "testdata/thread" func TestLoadThread(t *testing.T) { thread, err := LoadThread(testThread) if err != nil { t.Fatal(err) } fmt.Println(thread) }