mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-26 05:30:54 +03:00
all: Fix typos in function names and comments
This commit is contained in:
parent
12dc9a6e4a
commit
9009c8cdca
27 changed files with 41 additions and 41 deletions
|
@ -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]
|
||||
|
|
|
@ -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("은행 😄 은행")},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue