wip
This commit is contained in:
parent
22d19384e9
commit
d92807493f
1 changed files with 5 additions and 1 deletions
|
|
@ -247,4 +247,8 @@
|
||||||
(is (= 3 (bb nil "(import '(java.util.concurrent Executors ExecutorService))
|
(is (= 3 (bb nil "(import '(java.util.concurrent Executors ExecutorService))
|
||||||
(let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool)
|
(let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool)
|
||||||
^Callable (fn [] 3))]
|
^Callable (fn [] 3))]
|
||||||
(.get fut))"))))
|
(.get fut))")))
|
||||||
|
(is (nil? (bb nil "(import '(java.util.concurrent Executors ExecutorService))
|
||||||
|
(let [fut (.submit ^ExecutorService (Executors/newCachedThreadPool)
|
||||||
|
^Runnable (fn [] 3))]
|
||||||
|
(.get fut))"))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue