kakasi: homepage link fixed
Closes Homebrew/homebrew#36986. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
c06d5e5c11
commit
a6e8ce0490
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,5 @@
|
||||||
require "formula"
|
|
||||||
|
|
||||||
class Kakasi < Formula
|
class Kakasi < Formula
|
||||||
homepage "http://www.namazu.org/"
|
homepage "http://kakasi.namazu.org/"
|
||||||
url "http://kakasi.namazu.org/stable/kakasi-2.3.6.tar.gz"
|
url "http://kakasi.namazu.org/stable/kakasi-2.3.6.tar.gz"
|
||||||
sha1 "5f2e02264dda11940fb7b5387c327d4c4324bdb3"
|
sha1 "5f2e02264dda11940fb7b5387c327d4c4324bdb3"
|
||||||
|
|
||||||
|
@ -18,8 +16,8 @@ class Kakasi < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
hiragana = `echo '\xa4\xa2 \xa4\xab \xa4\xb5'`.chomp
|
hiragana = "\xa4\xa2 \xa4\xab \xa4\xb5"
|
||||||
romanji = `echo '#{hiragana}' | kakasi -rh -ieuc -Ha`.chomp
|
romanji = pipe_output("kakasi -rh -ieuc -Ha", hiragana).chomp
|
||||||
assert_equal "a ka sa", romanji
|
assert_equal "a ka sa", romanji
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue