ref: 4c4ce552171a20116b128aa4c9b97fe4d3727b83
parent: 0a768ec95fc44c680c69530e515e11a02196b3d8
author: Anthony Fok <[email protected]>
date: Sun Mar 20 00:12:53 EDT 2016
helpers: Fix minor typo in content_test.go
--- a/helpers/content_test.go
+++ b/helpers/content_test.go
@@ -354,7 +354,7 @@
}
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