helpers: Fix minor typo in content_test.go

This commit is contained in:
Anthony Fok 2016-03-20 04:12:53 +08:00
parent 0a768ec95f
commit 4c4ce55217

View file

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