diff --git a/Formula/f/fdclone.rb b/Formula/f/fdclone.rb index 1d6296db8b3bc..9f537d77c9e9b 100644 --- a/Formula/f/fdclone.rb +++ b/Formula/f/fdclone.rb @@ -3,6 +3,7 @@ class Fdclone < Formula homepage "https://hp.vector.co.jp/authors/VA012337/soft/fd/" url "http://www.unixusers.net/src/fdclone/FD-3.01j.tar.gz" sha256 "fe5bb67eb670dcdb1f7368698641c928523e2269b9bee3d13b3b77565d22a121" + license :cannot_represent livecheck do url :homepage @@ -28,6 +29,8 @@ class Fdclone < Formula uses_from_macos "ncurses" + conflicts_with "fd", because: "both install `fd` binaries" + patch do url "https://raw.githubusercontent.com/Homebrew/formula-patches/86107cf/fdclone/3.01b.patch" sha256 "c4159db3052d7e4abec57ca719ff37f5acff626654ab4c1b513d7879dcd1eb78" @@ -55,4 +58,8 @@ def caveats MESSAGELANG="ja" EOS end + + test do + assert_match "Hello Homebrew", shell_output("#{bin}/fdsh -c \"echo Hello Homebrew\"") + end end