From ef13f180ab64bf147aeb873e8b65e963f6aa1e92 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Sat, 26 Apr 2025 10:36:01 +0200 Subject: [PATCH] wip --- test/babashka/interop_test.clj | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/babashka/interop_test.clj b/test/babashka/interop_test.clj index fa7cab3e..e10f8d09 100644 --- a/test/babashka/interop_test.clj +++ b/test/babashka/interop_test.clj @@ -245,10 +245,8 @@ (deftest cached-thread-pool (is (= 3 (bb nil "(import '(java.util.concurrent Executors ExecutorService)) - (let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool) - ^Callable (fn [] 3))] + (let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool) ^Callable (fn [] 3))] (.get fut))"))) (is (nil? (bb nil "(import '(java.util.concurrent Executors ExecutorService)) - (let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool) - ^Runnable (fn [] 3))] + (let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool) ^Runnable (fn [] 3))] (.get fut))"))))