diff options
author | XhmikosR <[email protected]> | 2019-07-31 15:36:36 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-08-01 13:55:48 +0200 |
commit | f7f549e3a7492c787c6abb4900cc0f57c8ab1826 (patch) | |
tree | 18b82b0d343893e0f6e22fac9a6ca5e0f19fc876 /hugolib/page_test.go | |
parent | 6512d128c6d33b86f376764ab1d622a89ea18d20 (diff) | |
download | hugo-f7f549e3a7492c787c6abb4900cc0f57c8ab1826.tar.gz hugo-f7f549e3a7492c787c6abb4900cc0f57c8ab1826.zip |
Fix assorted typos
Diffstat (limited to 'hugolib/page_test.go')
-rw-r--r-- | hugolib/page_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/page_test.go b/hugolib/page_test.go index 3a0a76c3d..05dacbe0a 100644 --- a/hugolib/page_test.go +++ b/hugolib/page_test.go @@ -560,7 +560,7 @@ func TestPageSummary(t *testing.T) { assertFunc := func(t *testing.T, ext string, pages page.Pages) { p := pages[0] checkPageTitle(t, p, "SimpleWithoutSummaryDelimiter") - // Source is not Asciidoctor- or RST-compatibile so don't test them + // Source is not Asciidoctor- or RST-compatible so don't test them if ext != "ad" && ext != "rst" { checkPageContent(t, p, normalizeExpected(ext, "<p><a href=\"https://lipsum.com/\">Lorem ipsum</a> dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n\n<p>Additional text.</p>\n\n<p>Further text.</p>\n"), ext) checkPageSummary(t, p, normalizeExpected(ext, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Additional text."), ext) @@ -590,7 +590,7 @@ func TestPageWithSummaryParameter(t *testing.T) { p := pages[0] checkPageTitle(t, p, "SimpleWithSummaryParameter") checkPageContent(t, p, normalizeExpected(ext, "<p>Some text.</p>\n\n<p>Some more text.</p>\n"), ext) - // Summary is not Asciidoctor- or RST-compatibile so don't test them + // Summary is not Asciidoctor- or RST-compatible so don't test them if ext != "ad" && ext != "rst" { checkPageSummary(t, p, normalizeExpected(ext, "Page with summary parameter and <a href=\"http://www.example.com/\">a link</a>"), ext) } |