FIX: do not replace smiling_face by slight_smile (#11412)
This commit is contained in:
parent
161e92be61
commit
54519a2976
|
@ -173,7 +173,6 @@ class Emoji
|
|||
end
|
||||
|
||||
replacements["\u{2639}"] = 'frowning'
|
||||
replacements["\u{263A}"] = 'slight_smile'
|
||||
replacements["\u{263B}"] = 'slight_smile'
|
||||
replacements["\u{2661}"] = 'heart'
|
||||
replacements["\u{2665}"] = 'heart'
|
||||
|
|
|
@ -1037,7 +1037,7 @@ describe PrettyText do
|
|||
end
|
||||
|
||||
it "replaces some glyphs that are not in the emoji range" do
|
||||
expect(PrettyText.cook("☺")).to match(/\:slight_smile\:/)
|
||||
expect(PrettyText.cook("☺")).to match(/\:relaxed\:/)
|
||||
end
|
||||
|
||||
it "replaces digits" do
|
||||
|
|
Loading…
Reference in New Issue