Commit 2f2908be authored by Rob Pike's avatar Rob Pike

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/11291Reviewed-by: default avatarRob Pike <r@golang.org>
parent d0652e7f
...@@ -30,9 +30,9 @@ const p = "cmd/doc/testdata" ...@@ -30,9 +30,9 @@ const p = "cmd/doc/testdata"
var tests = []test{ var tests = []test{
// Sanity check. // Sanity check.
{ {
"fmt", "sanity check",
[]string{`fmt`}, []string{p},
[]string{`type Formatter interface`}, []string{`type ExportedType struct`},
nil, nil,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment