algernon: test style nits

This commit is contained in:
Dominyk Tiller 2016-06-04 10:26:16 +01:00
parent 4f23106849
commit fa583178ed
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -105,9 +105,8 @@ class Algernon < Formula
sleep(1)
# Check that the server is responding correctly
output = `curl -sIm3 -o- http://localhost#{cport}`
assert_match /^Server: Algernon/, output
assert_equal 0, $?.exitstatus
output = shell_output("curl -sIm3 -o- http://localhost#{cport}")
assert_match(/^Server: Algernon/, output)
ensure
# Stop the server gracefully