File tree Expand file tree Collapse file tree 1 file changed +14
-13
lines changed
ring-jetty-adapter/test/ring/adapter/test Expand file tree Collapse file tree 1 file changed +14
-13
lines changed Original file line number Diff line number Diff line change 604
604
(swap! call-count inc)
605
605
(raise (ex-info " unhandled exception" {})))
606
606
607
- (testing " broken handler is only called once"
608
- (reset! call-count 0 )
609
- (with-server broken-handler {:port test-port}
610
- (try (http/get test-url)
611
- (catch Exception _ nil ))
612
- (is (= 1 @call-count))))
613
-
614
- (testing " broken async handler is only called once"
615
- (reset! call-count 0 )
616
- (with-server broken-handler-cps {:async? true :port test-port}
617
- (try (http/get test-url)
618
- (catch Exception _ nil ))
619
- (is (= 1 @call-count))))
607
+ (deftest broken-handler-test
608
+ (testing " broken handler is only called once"
609
+ (reset! call-count 0 )
610
+ (with-server broken-handler {:port test-port}
611
+ (try (http/get test-url)
612
+ (catch Exception _ nil ))
613
+ (is (= 1 @call-count))))
614
+
615
+ (testing " broken async handler is only called once"
616
+ (reset! call-count 0 )
617
+ (with-server broken-handler-cps {:async? true :port test-port}
618
+ (try (http/get test-url)
619
+ (catch Exception _ nil ))
620
+ (is (= 1 @call-count)))))
You can’t perform that action at this time.
0 commit comments