File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
src/test/clojure/clojure/core/async Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 77; ; You must not remove this notice, or any other, from this software.
88
99(ns clojure.core.async.flow-test
10- (:require [clojure.test :refer :all ]
11- [clojure.core.async.flow :as flow]))
10+ (:require [clojure.test :refer :all ]))
1211
13- (deftest test-futurize
12+ (defmacro deftest-against
13+ [ver name & body]
14+ (when (clojure.core.async.impl.dispatch/at-least-clojure-version? ver)
15+ `(deftest ~name ~@body)))
16+
17+ (when (clojure.core.async.impl.dispatch/at-least-clojure-version? [1 11 0 ])
18+ (require '[clojure.core.async.flow :as flow]))
19+
20+ (deftest-against [1 11 0 ] test-futurize
1421 (testing " "
1522 (let [es (reify java.util.concurrent.ExecutorService
1623 (^java.util.concurrent.Future submit [_ ^Callable f]
You can’t perform that action at this time.
0 commit comments