Skip to content

Commit d3bebb4

Browse files
committed
throw-on-invalid-body test was removed, because now there are no invalid methods
1 parent 9d46f9e commit d3bebb4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/clj_http/test/core_test.clj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,6 @@
280280
body (slurp stream)]
281281
(is (= "get" body))))
282282

283-
(deftest throw-on-invalid-body
284-
(is (thrown-with-msg? IllegalArgumentException #"Invalid request method :bad"
285-
(client/request {:url "http://example.org"
286-
:method :bad}))))
287283

288284
(deftest ^:integration throw-on-too-many-redirects
289285
(run-server)

0 commit comments

Comments
 (0)