diff options
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/emoji.go | 2 | ||||
-rw-r--r-- | helpers/emoji_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/helpers/emoji.go b/helpers/emoji.go index eb47ff448..a1617c48d 100644 --- a/helpers/emoji.go +++ b/helpers/emoji.go @@ -30,7 +30,7 @@ var ( emojiMaxSize int ) -// Emoji returns the emojy given a key, e.g. ":smile:", nil if not found. +// Emoji returns the emoji given a key, e.g. ":smile:", nil if not found. func Emoji(key string) []byte { emojiInit.Do(initEmoji) return emojis[key] diff --git a/helpers/emoji_test.go b/helpers/emoji_test.go index 6485bb5fe..b45444d45 100644 --- a/helpers/emoji_test.go +++ b/helpers/emoji_test.go @@ -41,7 +41,7 @@ func TestEmojiCustom(t *testing.T) { {" :beer: :", []byte(" πΊ :")}, {":beer: and :smile: and another :beer:!", []byte("πΊ and π and another πΊ!")}, {" :beer: : ", []byte(" πΊ : ")}, - {"No smilies for you!", []byte("No smilies for you!")}, + {"No smiles for you!", []byte("No smiles for you!")}, {" The motto: no smiles! ", []byte(" The motto: no smiles! ")}, {":hugo_is_the_best_static_gen:", []byte(":hugo_is_the_best_static_gen:")}, {"μν :smile: μν", []byte("μν π μν")}, |