mirror of https://github.com/k3s-io/k3s
commit
cdd235b4fb
|
@ -26,7 +26,7 @@ func TestCleanupForInclude(t *testing.T) {
|
|||
markdown, expectedMarkdown string
|
||||
}{
|
||||
{ // first line is removed
|
||||
// Nb. fist line is the title of the document, and by removing it you get
|
||||
// Nb. first line is the title of the document, and by removing it you get
|
||||
// more flexibility for include, e.g. include in tabs
|
||||
markdown: "line 1\n" +
|
||||
"line 2\n" +
|
||||
|
@ -34,7 +34,7 @@ func TestCleanupForInclude(t *testing.T) {
|
|||
expectedMarkdown: "line 2\n" +
|
||||
"line 3",
|
||||
},
|
||||
{ // evething after ###SEE ALSO is removed
|
||||
{ // everything after ###SEE ALSO is removed
|
||||
// Nb. see also, that assumes file will be used as a main page (does not apply to includes)
|
||||
markdown: "line 1\n" +
|
||||
"line 2\n" +
|
||||
|
|
Loading…
Reference in New Issue