aboutsummaryrefslogtreecommitdiffhomepage
path: root/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'helpers')
-rw-r--r--helpers/emoji.go2
-rw-r--r--helpers/emoji_test.go2
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("은행 πŸ˜„ 은행")},