zpaq: use assertion instead of test return value

Closes Homebrew/homebrew#29483.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Mike Naberezny 2014-05-21 21:32:01 -07:00 committed by Adam Vandenberg
parent 7ada678ef7
commit bea3c23d16

View file

@ -21,6 +21,6 @@ class Zpaq < Formula
zpaq = bin/"zpaq"
system zpaq, "a", archive, "#{include}/libzpaq.h"
system zpaq, "t", archive
archive.read(4) == "7kSt"
assert_equal "7kSt", archive.read(4)
end
end