Permalink
Browse files

Fix test naming

  • Loading branch information...
1 parent 357b3cb commit 2a9ecc9d63f2b8c4c9855b8469b70c0328d58138 @evanphx evanphx committed Oct 3, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 test/test_http10.rb
  2. +1 −1 test/test_http11.rb
  3. +2 −2 test/test_persistent.rb
View
@@ -1,6 +1,6 @@
require 'test/testhelp'
-class HttpParserTest < Test::Unit::TestCase
+class Http10ParserTest < Test::Unit::TestCase
include Puma
def test_parse_simple
View
@@ -5,7 +5,7 @@
include Puma
-class HttpParserTest < Test::Unit::TestCase
+class Http11ParserTest < Test::Unit::TestCase
def test_parse_simple
parser = HttpParser.new
@@ -69,15 +69,15 @@ def test_hex
end
- def test_client_close
+ def test_client11_close
@client << @close_request
sz = @body[0].size.to_s
assert_equal "HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Length: #{sz}\r\nX-Header: Works\r\n\r\n", lines(5)
assert_equal "Hello", @client.read(5)
end
- def test_client_close
+ def test_client10_close
@client << @http10_request
sz = @body[0].size.to_s

0 comments on commit 2a9ecc9

Please sign in to comment.