From: Rob Pike Date: Fri, 19 Jun 2015 22:12:10 +0000 (+1000) Subject: cmd/doc: fix test on nacl X-Git-Tag: go1.5beta1~164 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=2f2908bec31a5fa8b5031b362006baef020b9819;p=gostls13.git 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 --- 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, },