summaryrefslogtreecommitdiffstats
path: root/commands/import_jekyll_test.go
diff options
context:
space:
mode:
authorJean-François YUEN <jfyuen@gmail.com>2018-11-19 17:33:54 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-12-12 19:12:12 +0100
commitab9214768de4ce10032d3fe7ec8c7b2932ead892 (patch)
treedcef65af4ab797a1950702182b82fef48a9fba19 /commands/import_jekyll_test.go
parent50686817072c8bef947959cb2bcc7f1914c7f839 (diff)
importer: fix jekyll import highlight options
Diffstat (limited to 'commands/import_jekyll_test.go')
-rw-r--r--commands/import_jekyll_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/commands/import_jekyll_test.go b/commands/import_jekyll_test.go
index cb22e9cd7..e0402a7a6 100644
--- a/commands/import_jekyll_test.go
+++ b/commands/import_jekyll_test.go
@@ -97,6 +97,9 @@ func TestConvertJekyllContent(t *testing.T) {
{map[interface{}]interface{}{},
"{% highlight go %}\nvar s int\n{% endhighlight %}",
"{{< highlight go >}}\nvar s int\n{{< / highlight >}}"},
+ {map[interface{}]interface{}{},
+ "{% highlight go linenos hl_lines=\"1 2\" %}\nvar s string\nvar i int\n{% endhighlight %}",
+ "{{< highlight go \"linenos=table,hl_lines=1 2\" >}}\nvar s string\nvar i int\n{{< / highlight >}}"},
// Octopress image tag
{map[interface{}]interface{}{},