Skip to content

Commit

Permalink
Maybe actually test something?
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrossley3 committed Feb 23, 2015
1 parent f401e7a commit 470aae8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/test/immutant/web/undertow_test.clj
Expand Up @@ -43,11 +43,11 @@
"bufferSize" 3
"buffersPerRegion" 4
"directBuffers" false)
(is #{"AJP" "HTTP"} (->> v
:configuration
(reflect "listeners")
(map (comp str (partial reflect "type")))
set)))
(is (= #{"AJP" "HTTP"} (->> v
:configuration
(reflect "listeners")
(map (comp str (partial reflect "type")))
set))))
;; Make sure kwargs and true :direct-buffers works
(let [v (:configuration (options :io-threads 44 :direct-buffers? true))]
(is (= 44 (reflect "ioThreads" v)))
Expand Down

0 comments on commit 470aae8

Please sign in to comment.