From 2f2908bec31a5fa8b5031b362006baef020b9819 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 20 Jun 2015 08:12:10 +1000 Subject: [PATCH] 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 --- src/cmd/doc/doc_test.go | 6 +++--- 1 file 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, }, -- 2.50.0