=htc fix formatting + typo

This commit is contained in:
Johannes Rudolph 2015-10-06 14:57:15 +02:00
parent 13ee16c72b
commit d1be812e41

View file

@ -12,7 +12,7 @@ class HttpMessageSpec extends WordSpec with Matchers {
an[IllegalUriException] should be thrownBy an[IllegalUriException] should be thrownBy
HttpRequest.effectiveUri(Uri(uri), List(hostHeader), securedConnection = false, null) HttpRequest.effectiveUri(Uri(uri), List(hostHeader), securedConnection = false, null)
"HttpRequset" should { "HttpRequest" should {
"provide an effective URI for relative URIs or matching Host-headers" in { "provide an effective URI for relative URIs or matching Host-headers" in {
test("/segment", Host("example.com"), "http://example.com/segment") test("/segment", Host("example.com"), "http://example.com/segment")
test("http://example.com/", Host("example.com"), "http://example.com/") test("http://example.com/", Host("example.com"), "http://example.com/")
@ -25,5 +25,4 @@ class HttpMessageSpec extends WordSpec with Matchers {
fail("http://example.com/", Host("example.com", 8080)) fail("http://example.com/", Host("example.com", 8080))
} }
} }
} }