algernon: test style nits
This commit is contained in:
parent
4f23106849
commit
fa583178ed
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue