tile38: brew style --fix
This commit is contained in:
parent
4214b513bc
commit
37e2352d7d
1 changed files with 8 additions and 10 deletions
|
@ -69,16 +69,14 @@ class Tile38 < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
begin
|
||||
pid = fork do
|
||||
exec "#{bin}/tile38-server", "-q"
|
||||
end
|
||||
sleep 2
|
||||
json_output = shell_output("#{bin}/tile38-cli server")
|
||||
tile38_server = JSON.parse(json_output)
|
||||
assert_equal tile38_server["ok"], true
|
||||
ensure
|
||||
Process.kill("HUP", pid)
|
||||
pid = fork do
|
||||
exec "#{bin}/tile38-server", "-q"
|
||||
end
|
||||
sleep 2
|
||||
json_output = shell_output("#{bin}/tile38-cli server")
|
||||
tile38_server = JSON.parse(json_output)
|
||||
assert_equal tile38_server["ok"], true
|
||||
ensure
|
||||
Process.kill("HUP", pid)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue