Rob Pike
6f17d00f0d
go.tools: fix various minor issues found by go vet
...
LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/96360048
2014-05-19 08:47:28 -07:00
Alex Brainman
d52b449ed7
go.tools/cmd/godoc: prevent duplicate GOROOT/GOPATH in environment in TestTypeAnalysis
...
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/94430044
2014-05-14 12:39:20 +10:00
Alan Donovan
4a9f74ad65
cmd/godoc: wait up to 500ms for results of -analysis=type.
...
(The test thread is racing with the analysis thread, which
takes around 4ms on this input.)
LGTM=gri
R=gri, bradfitz
CC=golang-codereviews
https://golang.org/cl/89780044
2014-04-21 17:56:06 -04:00
Alan Donovan
4843aaee02
godoc: add very basic integration test of godoc -analysis=type.
...
Also: fix careless regression introduced yesterday.
LGTM=bgarcia
R=bgarcia
CC=golang-codereviews
https://golang.org/cl/88880043
2014-04-17 15:51:27 -04:00
Alex Brainman
2961704231
go.tools/cmd/godoc: correct TestCLI match string on windows
...
Fixes golang/go#7707
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/84280045
2014-04-06 12:41:24 +10:00
Alan Donovan
7877131709
cmd/godoc: fix careless crash introduced by recent analysis CL
...
+ basic integration test
LGTM=bgarcia
R=bgarcia, bradfitz
CC=golang-codereviews
https://golang.org/cl/76410045
2014-03-16 16:17:13 -04:00
Brad Garcia
a81074af88
godoc: Output "No match found" only if there is no ast or docs included in info.
...
Fixes golang/go#7499 .
R=minux.ma
CC=golang-codereviews
https://golang.org/cl/75400043
2014-03-14 10:00:10 -04:00
David du Colombier
ec0de5a8bc
go.tools/cmd/godoc: fix test on Plan 9
...
LGTM=bradfitz
R=minux.ma, bradfitz
CC=golang-codereviews
https://golang.org/cl/70610044
2014-03-02 19:34:05 +01:00
Brad Garcia
aaca3a4f95
godoc: Remove bogus messages referring to "/target".
...
Fix package text display spacing.
Fixes golang/go#7395 .
R=bradfitz, sameer
CC=golang-codereviews
https://golang.org/cl/68210043
2014-02-26 13:21:44 -05:00
Brad Garcia
d682175c6e
godoc: test fixes for recent cmdline changes.
...
Tests broken by:
https://code.google.com/p/go/source/detail?r=1666da2583f4&repo=tools
R=gri, adonovan
CC=golang-codereviews
https://golang.org/cl/58780043
2014-01-30 15:32:23 -05:00
David Symonds
0160160d5e
cmd/godoc: Fix reg test on Windows.
...
R=bradfitz, gri
CC=golang-dev
https://golang.org/cl/11551043
2013-07-19 10:31:12 +10:00
David Symonds
3af65e49c2
cmd/godoc: Add a basic regression test.
...
R=adg, bradfitz
CC=golang-dev
https://golang.org/cl/11419044
2013-07-17 17:32:45 +10:00