Skip to content

Commit 58f9fd3

Browse files
committed
QuickDoc: add test of navigation info
1 parent a9b0bf2 commit 58f9fd3

16 files changed

+34
-2
lines changed

testData/doc/escape.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<p>If n &lt; 0, there is no limit on the number of replacements.
33
</p>
44

5+
=====
6+
func Replace(s <a href="psi_element://builtin#string">string</a>, old <a href="psi_element://builtin#string">string</a>, new <a href="psi_element://builtin#string">string</a>, n <a href="psi_element://builtin#int">int</a>) <a href="psi_element://builtin#string">string</a>
57
=====
68
https://godoc.org/null#Replace

testData/doc/escapeReturnValues.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<p>If n &lt; 0, there is no limit on the number of replacements.
33
</p>
44

5+
=====
6+
func Replace(s <a href="psi_element://builtin#string">string</a>, old <a href="psi_element://builtin#string">string</a>, new <a href="psi_element://builtin#string">string</a>, n <a href="psi_element://builtin#int">int</a>) &lt;-chan <a href="psi_element://builtin#string">string</a>
57
=====
68
https://godoc.org/null#Replace

testData/doc/fprintln.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ Spaces are always added between operands and a newline is appended.
44
It returns the number of bytes written and any write error encountered.
55
</p>
66

7+
=====
8+
func Fprintln(w io.Writer, a ...interface{}) (n <a href="psi_element://builtin#int">int</a>, err <a href="psi_element://builtin#error">error</a>)
79
=====
810
https://godoc.org/fmt#Fprintln

testData/doc/method.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<p>Name returns the name of the file as presented to Open.
33
</p>
44

5+
=====
6+
func Name() <a href="psi_element://builtin#string">string</a>
57
=====
68
https://godoc.org/os#File.Name

testData/doc/multilineTypeListDefinition.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
<p>MultiType is a function like all other functions
33
</p>
44

5+
=====
6+
func MultiType(demo interface{}, err <a href="psi_element://builtin#error">error</a>) ([]interface{}, <a href="psi_element://builtin#error">error</a>)
57
=====
68
https://godoc.org/docs#MultiType

testData/doc/package.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ various implementations, unless otherwise informed clients should not
1010
assume they are safe for parallel execution.
1111
</p>
1212

13+
=====
14+
No navigation info
1315
=====
1416
https://godoc.org/io

testData/doc/packageOnImportAlias.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ various implementations, unless otherwise informed clients should not
1010
assume they are safe for parallel execution.
1111
</p>
1212

13+
=====
14+
No navigation info
1315
=====
1416
https://godoc.org/io

testData/doc/packageOnQualifier.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ various implementations, unless otherwise informed clients should not
1010
assume they are safe for parallel execution.
1111
</p>
1212

13+
=====
14+
No navigation info
1315
=====
1416
https://godoc.org/io

testData/doc/packageWithDoc.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ to C's printf and scanf. The format 'verbs' are derived from C's but
55
are simpler.
66
</p>
77

8+
=====
9+
No navigation info
810
=====
911
https://godoc.org/fmt

testData/doc/println.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ Spaces are always added between operands and a newline is appended.
44
It returns the number of bytes written and any write error encountered.
55
</p>
66

7+
=====
8+
func Println(a ...interface{}) (n <a href="psi_element://builtin#int">int</a>, err <a href="psi_element://builtin#error">error</a>)
79
=====
810
https://godoc.org/fmt#Println

0 commit comments

Comments
 (0)