summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2016-03-20 04:12:53 +0800
committerAnthony Fok <foka@debian.org>2016-03-20 04:12:53 +0800
commit4c4ce552171a20116b128aa4c9b97fe4d3727b83 (patch)
treebe20b070a7e1cf30d02a8288e8d52d4729d590f2
parent0a768ec95fc44c680c69530e515e11a02196b3d8 (diff)
helpers: Fix minor typo in content_test.go
-rw-r--r--helpers/content_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/content_test.go b/helpers/content_test.go
index fff1ed50d..daba018d8 100644
--- 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