yajl: add a test
Closes Homebrew/homebrew#27244. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
d1c8478507
commit
a5d9f13924
1 changed files with 6 additions and 0 deletions
|
@ -21,4 +21,10 @@ class Yajl < Formula
|
|||
system "make install"
|
||||
(include/'yajl').install Dir['src/api/*.h']
|
||||
end
|
||||
|
||||
test do
|
||||
output = `echo "[0,1,2,3]" | '#{bin}/json_verify'`
|
||||
assert $?.success?
|
||||
assert_match /valid/i, output.strip
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue