Skip to content

Commit 8fcf781

Browse files
committed
avoiding flow tests when CLJ earlier than 1.11.0
1 parent a1cc51d commit 8fcf781

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/clojure/clojure/core/async/flow_test.clj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
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]))
10+
(:require [clojure.test :refer :all]
11+
[clojure.core.async.impl.dispatch :as dispatch]))
1112

1213
(defmacro deftest-against
1314
[ver name & body]
14-
(when (clojure.core.async.impl.dispatch/at-least-clojure-version? ver)
15+
(when (dispatch/at-least-clojure-version? ver)
1516
`(deftest ~name ~@body)))
1617

17-
(when (clojure.core.async.impl.dispatch/at-least-clojure-version? [1 11 0])
18+
(when (dispatch/at-least-clojure-version? [1 11 0])
1819
(require '[clojure.core.async.flow :as flow]))
1920

2021
(deftest-against [1 11 0] test-futurize

0 commit comments

Comments
 (0)