summaryrefslogtreecommitdiffstats
path: root/commands/import_jekyll_test.go
diff options
context:
space:
mode:
authorStefan Buynov <stefan.buynov@gmail.com>2017-03-18 17:16:25 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2017-03-18 16:16:25 +0100
commit9dfb9c14454e6184cd7ff52f6b9f1beffbadf1e5 (patch)
tree1a275717760652fb4a4c233959015a7ea8640065 /commands/import_jekyll_test.go
parentc2ffdfab63510e5fe9c96ab06f99e652e417d9b8 (diff)
Case insensitive translation of the 'more' tag when importing from Jekyll
Diffstat (limited to 'commands/import_jekyll_test.go')
-rw-r--r--commands/import_jekyll_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/import_jekyll_test.go b/commands/import_jekyll_test.go
index aae645df2..899e17b15 100644
--- a/commands/import_jekyll_test.go
+++ b/commands/import_jekyll_test.go
@@ -88,6 +88,8 @@ func TestConvertJekyllContent(t *testing.T) {
}{
{map[interface{}]interface{}{},
`Test content\n<!-- more -->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
+ {map[interface{}]interface{}{},
+ `Test content\n<!-- More -->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
{map[interface{}]interface{}{"excerpt_separator": "<!--sep-->"},
`Test content\n<!--sep-->\npart2 content`, `Test content\n<!--more-->\npart2 content`},
{map[interface{}]interface{}{}, "{% raw %}text{% endraw %}", "text"},