Permalink
Browse files

Altered test to check custom type parameters

  • Loading branch information...
weavejester committed Jul 27, 2012
1 parent 6133167 commit 8df63d1644a1a5f5535fcc39309403070e3ec3f2
Showing with 3 additions and 3 deletions.
  1. +3 −3 ring-jetty-adapter/test/ring/adapter/test/jetty.clj
@@ -62,8 +62,8 @@
(is (= (get-in response [:headers "content-type"])
"text/plain;charset=UTF-8")))))
- (testing "custom character encoding"
- (with-server (content-type-handler "text/plain;charset=US-ASCII") {:port 4347}
+ (testing "custom content-type"
+ (with-server (content-type-handler "text/plain;charset=UTF-16;version=1") {:port 4347}
(let [response (http/get "http://localhost:4347")]
(is (= (get-in response [:headers "content-type"])
- "text/plain;charset=US-ASCII"))))))
+ "text/plain;charset=UTF-16;version=1"))))))

0 comments on commit 8df63d1

Please sign in to comment.