diff --git a/resources/BABASHKA_RELEASED_VERSION b/resources/BABASHKA_RELEASED_VERSION index 335f30ac..d9bac80e 100644 --- a/resources/BABASHKA_RELEASED_VERSION +++ b/resources/BABASHKA_RELEASED_VERSION @@ -1 +1 @@ -0.0.75 \ No newline at end of file +0.0.76 \ No newline at end of file diff --git a/resources/BABASHKA_VERSION b/resources/BABASHKA_VERSION index d9bac80e..05423a18 100644 --- a/resources/BABASHKA_VERSION +++ b/resources/BABASHKA_VERSION @@ -1 +1 @@ -0.0.76 \ No newline at end of file +0.0.77-SNAPSHOT \ No newline at end of file diff --git a/sci b/sci index aa73bdef..17b14cae 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit aa73bdef358a089733f9e20b1673c551f3ccdd6b +Subproject commit 17b14cae6260ad56a37fb3f46de16255ae90f9b8 diff --git a/test/babashka/main_test.clj b/test/babashka/main_test.clj index ac98ab9a..eb52dcf0 100644 --- a/test/babashka/main_test.clj +++ b/test/babashka/main_test.clj @@ -228,7 +228,18 @@ (is (= {:result 8080} (bb nil "test/babashka/scripts/tools.cli.bb")))) (deftest try-catch-test - (is (zero? (bb nil "(try (/ 1 0) (catch ArithmeticException _ 0))")))) + (is (zero? (bb nil "(try (/ 1 0) (catch ArithmeticException _ 0))"))) + (is (= :got-it (bb nil " +(defn foo [] + (throw (java.util.MissingResourceException. \"o noe!\" \"\" \"\"))) + +(defn bar + [] + (try (foo) + (catch java.util.MissingResourceException _ + :got-it))) +(bar) +")))) (deftest reader-conditionals-test (is (= :hello (bb nil "#?(:bb :hello :default :bye)")))