aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2015-06-20 08:12:10 +1000
committerRob Pike <r@golang.org>2015-06-19 22:13:20 +0000
commit2f2908bec31a5fa8b5031b362006baef020b9819 (patch)
tree89b4789df8de8297af6bf550712bb85096aebbb6 /src
parentd0652e7f82da12e84fb143c4ad6c19e39f238f05 (diff)
downloadgo-2f2908bec31a5fa8b5031b362006baef020b9819.tar.xz
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>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/doc/doc_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/doc/doc_test.go b/src/cmd/doc/doc_test.go
index 0936d4d2d4..e0353508fe 100644
--- a/src/cmd/doc/doc_test.go
+++ b/src/cmd/doc/doc_test.go
@@ -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,
},