xtitle: change test assert_equal to assert_match (#3625)

This commit is contained in:
Domingo Moronta 2016-08-04 19:06:51 -07:00 committed by Dominyk Tiller
parent 2786e956ad
commit 2d304b8b15

View file

@ -13,6 +13,6 @@ class Xtitle < Formula
end
test do
assert_equal "#{version}", shell_output("#{bin}/xtitle -V").chomp
assert_match version.to_s, shell_output("#{bin}/xtitle --version")
end
end