File: 0006-Do_not_depend_on_golang-doc.patch

package info (click to toggle)
golang-golang-x-tools 1%3A0.0~git20161028.0.b814a3b%2Bds-3~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 5,644 kB
  • sloc: yacc: 155; sh: 95; makefile: 27; asm: 18; xml: 11; ansic: 10
file content (14 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
If golang-doc is not present, the start page for godoc does not contain the
text expected in tests.

--- a/cmd/godoc/godoc_test.go
+++ b/cmd/godoc/godoc_test.go
@@ -224,7 +224,7 @@
 	}{
 		{
 			path:  "/",
-			match: []string{"Go is an open source programming language"},
+			match: []string{"The Go Programming Language"},
 		},
 		{
 			path:  "/pkg/fmt/",