Skip to content

Commit

Permalink
mecab-ipadic: update test
Browse files Browse the repository at this point in the history
This should help prevent #171137.
  • Loading branch information
carlocab committed May 14, 2024
1 parent 245badb commit f91c48a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Formula/m/mecab-ipadic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def caveats
dicdir = #{HOMEBREW_PREFIX}/lib/mecab/dic/ipadic
EOS

pipe_output("mecab --rcfile=#{testpath}/mecabrc", "銇欍倐銈傘倐銈傘倐銈傘倐銈傘伄銇嗐仭\n", 0)
assert_match "鍚嶈", pipe_output("mecab --rcfile=#{testpath}/mecabrc", "銇欍倐銈傘倐銈傘倐銈傘倐銈傘伄銇嗐仭\n", 0)
assert_match "鍚嶈,鍥烘湁鍚嶈,绲勭箶", pipe_output("mecab --rcfile=#{testpath}/mecabrc", "A\n")
end
end

0 comments on commit f91c48a

Please sign in to comment.