From c832819a7696c7c0dbf13132a7f5da92f5ab0da3 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Wed, 1 Sep 2021 13:45:23 +0200 Subject: [PATCH] Fix test --- CHANGELOG.md | 4 ++++ test/babashka/java_net_http_test.clj | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d9547e8..f9e404f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ For a list of breaking changes, check [here](#breaking-changes). +## 0.6.0 + + + ## 0.5.1 - Add new `print-deps` subcommand for printing a `deps.edn` map and classpath diff --git a/test/babashka/java_net_http_test.clj b/test/babashka/java_net_http_test.clj index 6e68c896..1dc7c4d7 100644 --- a/test/babashka/java_net_http_test.clj +++ b/test/babashka/java_net_http_test.clj @@ -122,7 +122,7 @@ (.getDomain)))))))) (deftest connect-timeout-test - (is (= "java.net.http.HttpConnectTimeoutException" + (is (str/includes? (bb '(do (ns net @@ -146,7 +146,9 @@ :via first :type - name))))))))) + name)))))) + ;; can be either java.net.http.HttpConnectTimeoutException or java.net.http.HttpTimeoutException + "TimeoutException"))) (deftest executor-test (is (= 200