diff options
Diffstat (limited to 'internal/pkgdoc/dir_test.go')
| -rw-r--r-- | internal/pkgdoc/dir_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/pkgdoc/dir_test.go b/internal/pkgdoc/dir_test.go index 94412746..db1c7821 100644 --- a/internal/pkgdoc/dir_test.go +++ b/internal/pkgdoc/dir_test.go @@ -17,7 +17,7 @@ import ( ) func TestNewDirTree(t *testing.T) { - dir := newDir(os.DirFS(runtime.GOROOT()), token.NewFileSet(), "/src") + dir := newDir(os.DirFS(runtime.GOROOT()), token.NewFileSet(), "src") processDir(t, dir) } @@ -62,6 +62,6 @@ func BenchmarkNewDirectory(b *testing.B) { b.ResetTimer() b.ReportAllocs() for tries := 0; tries < b.N; tries++ { - newDir(fs, token.NewFileSet(), "/src") + newDir(fs, token.NewFileSet(), "src") } } |
