]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/doc: fix test on nacl
authorRob Pike <r@golang.org>
Fri, 19 Jun 2015 22:12:10 +0000 (08:12 +1000)
committerRob Pike <r@golang.org>
Fri, 19 Jun 2015 22:13:20 +0000 (22:13 +0000)
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>
src/cmd/doc/doc_test.go

index 0936d4d2d4ef48d52f85e8d46b6a36002ae7e459..e0353508fe96a5961baecd5c87353ce0634f0539 100644 (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,
        },