This commit is contained in:
Michiel Borkent 2024-10-10 13:47:52 +02:00
parent f424f3ef28
commit 0fd774670f

View file

@ -93,7 +93,7 @@ clojure.core// - <built-in>
foo - foo.clj:1:10")))) foo - foo.clj:1:10"))))
(deftest static-call-test (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)))] (catch Exception e (ex-message e)))]
(is (str/includes? (tu/normalize output) (is (str/includes? (tu/normalize output)
"----- Error -------------------------------------------------------------------- "----- Error --------------------------------------------------------------------
@ -106,7 +106,7 @@ Location: <expr>:1:1
^--- No matching field found: x for class java.io.File ^--- No matching field found: x for class java.io.File
----- Stack trace -------------------------------------------------------------- ----- Stack trace --------------------------------------------------------------
user - <expr>:1:1")) user - <expr>:1:1")))
(let [output (try (tu/bb nil "-e" "(File/x)") (let [output (try (tu/bb nil "-e" "(File/x)")
(catch Exception e (ex-message e)))] (catch Exception e (ex-message e)))]
(is (str/includes? (tu/normalize output) (is (str/includes? (tu/normalize output)
@ -120,7 +120,7 @@ Location: <expr>:1:1
^--- No matching method x found taking 0 args ^--- No matching method x found taking 0 args
----- Stack trace -------------------------------------------------------------- ----- Stack trace --------------------------------------------------------------
user - <expr>:1:1"))))) user - <expr>:1:1"))))
(deftest error-while-macroexpanding-test (deftest error-while-macroexpanding-test