diff options
author | Anthony Fok <foka@debian.org> | 2016-03-20 04:12:53 +0800 |
---|---|---|
committer | Anthony Fok <foka@debian.org> | 2016-03-20 04:12:53 +0800 |
commit | 4c4ce552171a20116b128aa4c9b97fe4d3727b83 (patch) | |
tree | be20b070a7e1cf30d02a8288e8d52d4729d590f2 /helpers/content_test.go | |
parent | 0a768ec95fc44c680c69530e515e11a02196b3d8 (diff) |
helpers: Fix minor typo in content_test.go
Diffstat (limited to 'helpers/content_test.go')
-rw-r--r-- | helpers/content_test.go | 2 |
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 |