helpers: Fix minor typo in content_test.go - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 4c4ce552171a20116b128aa4c9b97fe4d3727b83
DIR parent 0a768ec95fc44c680c69530e515e11a02196b3d8
HTML Author: Anthony Fok <foka@debian.org>
Date: Sun, 20 Mar 2016 04:12:53 +0800
helpers: Fix minor typo in content_test.go
Diffstat:
M helpers/content_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/helpers/content_test.go b/helpers/content_test.go
@@ -354,7 +354,7 @@ func TestExtractTOCNormalContent(t *testing.T) {
}
func TestExtractTOCGreaterThanSeventy(t *testing.T) {
- content := []byte("<nav>\n<ul>\nTOC This is a very long content which will definitly be greater than seventy, I promise you that.<li><a href=\"#")
+ content := []byte("<nav>\n<ul>\nTOC This is a very long content which will definitely be greater than seventy, I promise you that.<li><a href=\"#")
actualTocLessContent, actualToc := ExtractTOC(content)
//Because the start of Toc is greater than 70+startpoint of <li> content and empty TOC will be returned