Skip to content

Commit 38cec03

Browse files
committed
failing test [skip ci]
1 parent 606669f commit 38cec03

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/sci/interop_test.cljc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,13 @@
379379
type-hint-config)))
380380
(is (= 3 (sci/eval-string "(def ^java.util.concurrent.ExecutorService thread-pool (java.util.concurrent.Executors/newCachedThreadPool))
381381
@(java.util.concurrent.ExecutorService/.submit thread-pool ^Callable (fn [] 3))"
382-
type-hint-config)))))
382+
type-hint-config)))
383+
(is (nil? (sci/eval-string "(def ^java.util.concurrent.ExecutorService thread-pool (java.util.concurrent.Executors/newCachedThreadPool))
384+
@((identity ^[Runnable] java.util.concurrent.ExecutorService/.submit) thread-pool (fn [] 3))"
385+
type-hint-config)))
386+
(is (= 3 (sci/eval-string "(def ^java.util.concurrent.ExecutorService thread-pool (java.util.concurrent.Executors/newCachedThreadPool))
387+
@((identity ^[Callable] java.util.concurrent.ExecutorService/.submit) thread-pool (fn [] 3))"
388+
type-hint-config)))))
383389
(testing "type hint on interop argument"
384390
;; this test assumes clojure/core.clj comes from a jar file
385391
;; the test will fail when not processing the type hint on the interop argument

0 commit comments

Comments
 (0)