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:
parent
7ada678ef7
commit
bea3c23d16
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue