Update postprocessing_test.go

Small fix to make the code easy to read.
This commit is contained in:
AdamDang 2019-01-30 21:22:22 +08:00 committed by GitHub
parent dcdd114d0a
commit 2cb5a3ebdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" +