hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 989c7487ebe369f3cdfab4b654267e5949b92414
parent 612c61146da8dd4c698a772e38c630d43b825f60
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 12 Mar 2016 16:53:39 +0100

Add emojify to the template func smoke tests

Diffstat:
Mtpl/template_funcs_test.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tpl/template_funcs_test.go b/tpl/template_funcs_test.go
@@ -102,6 +102,7 @@ delimit: {{ delimit (slice "A" "B" "C") ", " " and " }}
 jsonify: {{ (slice "A" "B" "C") | jsonify }}
 md5: {{ md5 "Hello world, gophers!" }}
 sha1: {{ sha1 "Hello world, gophers!" }}
+emojify: {{ "I :heart: Hugo" | emojify }}
 `
 	expected := `chomp: <p>Blockhead</p>
 dateFormat: Wednesday, Jan 21, 2015
@@ -139,6 +140,7 @@ delimit: A, B and C
 jsonify: ["A","B","C"]
 md5: b3029f756f98f79e7f1b7f1d1f0dd53b
 sha1: c8b5b0e33d408246e30f53e32b8f7627a7a649d4
+emojify: I ❤️  Hugo
 `
 
 	var b bytes.Buffer