Bump SCI: support new Clojure 1.12 interop (#1740)

This commit is contained in:
Michiel Borkent 2024-10-10 14:01:22 +02:00 committed by GitHub
parent 50e8a74321
commit bc1c35790e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

2
sci

@ -1 +1 @@
Subproject commit bd4d6ba59d1224cb6c6bcccc4d6d37c96ea921b8
Subproject commit 5d33aaa3f529d8a8da4837d5192cc244cdb9c9f3

View file

@ -93,7 +93,7 @@ clojure.core// - <built-in>
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: <expr>:1:1
^--- No matching field found: x for class java.io.File
----- Stack trace --------------------------------------------------------------
user - <expr>: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 - <expr>: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: <expr>:1:1
@ -120,7 +120,7 @@ Location: <expr>:1:1
^--- No matching method x found taking 0 args
----- Stack trace --------------------------------------------------------------
user - <expr>:1:1")))))
user - <expr>:1:1"))))
(deftest error-while-macroexpanding-test