cmd/doc: fix test on nacl

nacl is really giving a hard time. avoid all external dependencies in the test.
Worked with trybots, failed in the build. No explanation, but this should fix it.

TBR=rsc

Change-Id: Icb644286dbce88f17ee3d96ad90efba34a80a92d
Reviewed-on: https://go-review.googlesource.com/11291
Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
Rob Pike 2015-06-20 08:12:10 +10:00
parent d0652e7f82
commit 2f2908bec3

View file

@ -30,9 +30,9 @@ const p = "cmd/doc/testdata"
var tests = []test{
// Sanity check.
{
"fmt",
[]string{`fmt`},
[]string{`type Formatter interface`},
"sanity check",
[]string{p},
[]string{`type ExportedType struct`},
nil,
},