From bc1c35790e049bf8470f7a1b1613ba9661319d6c Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 10 Oct 2024 14:01:22 +0200 Subject: [PATCH] Bump SCI: support new Clojure 1.12 interop (#1740) --- sci | 2 +- test/babashka/error_test.clj | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sci b/sci index bd4d6ba5..5d33aaa3 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit bd4d6ba59d1224cb6c6bcccc4d6d37c96ea921b8 +Subproject commit 5d33aaa3f529d8a8da4837d5192cc244cdb9c9f3 diff --git a/test/babashka/error_test.clj b/test/babashka/error_test.clj index d3230f75..74aba8af 100644 --- a/test/babashka/error_test.clj +++ b/test/babashka/error_test.clj @@ -93,7 +93,7 @@ clojure.core// - foo - foo.clj:1:10")))) (deftest static-call-test - (let [output (try (tu/bb nil "-e" "File/x") + #_(let [output (try (tu/bb nil "-e" "File/x") (catch Exception e (ex-message e)))] (is (str/includes? (tu/normalize output) "----- Error -------------------------------------------------------------------- @@ -106,11 +106,11 @@ Location: :1:1 ^--- No matching field found: x for class java.io.File ----- Stack trace -------------------------------------------------------------- -user - :1:1")) - (let [output (try (tu/bb nil "-e" "(File/x)") - (catch Exception e (ex-message e)))] - (is (str/includes? (tu/normalize output) - "----- Error -------------------------------------------------------------------- +user - :1:1"))) + (let [output (try (tu/bb nil "-e" "(File/x)") + (catch Exception e (ex-message e)))] + (is (str/includes? (tu/normalize output) + "----- Error -------------------------------------------------------------------- Type: java.lang.IllegalArgumentException Message: No matching method x found taking 0 args Location: :1:1 @@ -120,7 +120,7 @@ Location: :1:1 ^--- No matching method x found taking 0 args ----- Stack trace -------------------------------------------------------------- -user - :1:1"))))) +user - :1:1")))) (deftest error-while-macroexpanding-test