Skip to content

Commit 790ac9e

Browse files
committed
fixup! Customizable error handler
1 parent ba940d8 commit 790ac9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/aleph/http_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@
469469
(with-handler invalid-handler
470470
(let [{:keys [body status]} @(http-get (apply str "http://localhost:" port "/invalid"))]
471471
(is (= 500 status))
472-
(is (re-find #"java\.lang\.IllegalArgumentException: code: -100 \(expected: >= 0\)"
472+
(is (re-find #"java\.lang\.IllegalArgumentException: code : -100 \(expected: >= 0\)"
473473
(bs/to-string body)))))
474474
(testing "custom error handler"
475475
(with-server (http/start-server invalid-handler

0 commit comments

Comments
 (0)