godoc: remove Corpus.testDir field

It was indeed unused.

Updates golang/go#33655

Change-Id: Icb9b9a3d201cc573ae294063b64e38890f37b9ab
Reviewed-on: https://go-review.googlesource.com/c/tools/+/196978
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/godoc/corpus.go b/godoc/corpus.go
index 94725e7..f2167e7 100644
--- a/godoc/corpus.go
+++ b/godoc/corpus.go
@@ -6,7 +6,6 @@
 
 import (
 	"errors"
-	pathpkg "path"
 	"sync"
 	"time"
 
@@ -87,8 +86,6 @@
 	// If nil, all directories are indexed if indexing is enabled.
 	IndexDirectory func(dir string) bool
 
-	testDir string // TODO(bradfitz,adg): migrate old godoc flag? looks unused.
-
 	// Send a value on this channel to trigger a metadata refresh.
 	// It is buffered so that if a signal is not lost if sent
 	// during a refresh.
@@ -158,7 +155,7 @@
 }
 
 func (c *Corpus) initFSTree() error {
-	dir := c.newDirectory(pathpkg.Join("/", c.testDir), -1)
+	dir := c.newDirectory("/", -1)
 	if dir == nil {
 		return errors.New("godoc: corpus fstree is nil")
 	}