Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 699 Bytes
class Emojify < Formula
desc "Emoji on the command-line :scream:"
homepage "https://github.com/mrowa44/emojify"
url "https://github.com/mrowa44/emojify/archive/v1.0.2.tar.gz"
sha256 "a75d49d623f92974d7852526591d5563c27b7655c20ebdd66a07b8a47dae861c"
head "https://github.com/mrowa44/emojify.git"
bottle :unneeded
def install
bin.install "emojify"
end
test do
input = "Hey, I just :raising_hand: you, and this is :scream: , but here's my :calling: , so :telephone_receiver: me, maybe?"
expected = "Hey, I just πŸ™‹ you, and this is 😱 , but here's my πŸ“² , so πŸ“ž me, maybe?"
assert_equal(expected, shell_output("#{bin}/emojify \"#{input}\"").strip)
end
end
You can’t perform that action at this time.