From b392ab6e6c0b643a02a97050ff8861de5b9f040c Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 10 Oct 2024 17:20:45 +0200 Subject: [PATCH] another test --- test/babashka/interop_test.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/babashka/interop_test.clj b/test/babashka/interop_test.clj index 7d4d8102..4a8a57da 100644 --- a/test/babashka/interop_test.clj +++ b/test/babashka/interop_test.clj @@ -67,4 +67,6 @@ (deftest FI-coercion (is (true? (bb nil "(= [1 3] (into [] (doto (java.util.ArrayList. [1 2 3]) (.removeIf even?))))"))) - (is (true? (bb nil "(= '(\\9) (-> \"a9-\" seq .stream (.filter Character/isDigit) stream-seq!))")))) + (is (true? (bb nil "(= \"abcabc\" (.computeIfAbsent (java.util.HashMap.) \"abc\" #(str % %)))"))) + (is (true? (bb nil "(= '(\\9) (-> \"a9-\" seq .stream (.filter Character/isDigit) stream-seq!))"))) + )