Skip to content

Commit

Permalink
#29 take 2: more-of hook
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Oct 23, 2023
1 parent 2da099c commit 1debcb9
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
(map (fn [[e a]]
(api/list-node
(list
(api/token-node '=?)
(api/token-node 'expectations.clojure.test/expect)
e
a)))
pairs)))]
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Only accretive/fixative changes will be made from now on.

* 2.1.186 -- 2023-10-22
* 2.1.187 -- 2023-10-22
* Address [#29](https://github.com/clojure-expectations/clojure-test/issues/29) by providing a "hook" for `more-of`.
* Update `tools.build` to 0.9.6 (and get rid of `template/pom.xml` in favor of new `:pom-data` option to `b/write-pom`).

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A `clojure.test`-compatible version of the [classic Expectations testing library

## Where?

[![Clojars Project](https://clojars.org/com.github.seancorfield/expectations/latest-version.svg)](https://clojars.org/com.github.seancorfield/expectations) [![cljdoc badge](https://cljdoc.org/badge/com.github.seancorfield/expectations?2.1.186)](https://cljdoc.org/d/com.github.seancorfield/expectations/CURRENT) [![Slack](https://img.shields.io/badge/slack-Expectations-red.svg?logo=slack)](https://clojurians.slack.com/app_redirect?channel=expectations)
[![Clojars Project](https://clojars.org/com.github.seancorfield/expectations/latest-version.svg)](https://clojars.org/com.github.seancorfield/expectations) [![cljdoc badge](https://cljdoc.org/badge/com.github.seancorfield/expectations?2.1.187)](https://cljdoc.org/d/com.github.seancorfield/expectations/CURRENT) [![Slack](https://img.shields.io/badge/slack-Expectations-red.svg?logo=slack)](https://clojurians.slack.com/app_redirect?channel=expectations)

Try it out:

Expand Down
2 changes: 1 addition & 1 deletion doc/getting-started-cljs.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Your `deps.edn` should include this information:

```clojure
{:aliases {:cljs-runner
{:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.1.186"},
{:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.1.187"},
olical/cljs-test-runner {:mvn/version "3.8.0"},
pjstadig/humane-test-output {:mvn/version "0.11.0"}},
:extra-paths ["src" "test" "cljs-test-runner-out/gen"],
Expand Down
8 changes: 4 additions & 4 deletions doc/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ You can add `expectations.clojure.test` to your project with either:

```clojure
;; add this to :extra-deps under a :test alias:
com.github.seancorfield/expectations {:mvn/version "2.1.186"}
com.github.seancorfield/expectations {:mvn/version "2.1.187"}
```
for `deps.edn` or:

```clojure
;; add this to :dev-dependencies (Leiningen)
[com.github.seancorfield/expectations "2.1.186"]
[com.github.seancorfield/expectations "2.1.187"]
;; or add this to :dependencies (Boot)
[com.github.seancorfield/expectations "2.1.186" :scope "test"]
[com.github.seancorfield/expectations "2.1.187" :scope "test"]
```
for `project.clj` or `build.boot`.

Expand Down Expand Up @@ -186,7 +186,7 @@ Of course, you can also update the `:test` alias to add those new options into `
{:test
{:extra-paths ["test"]
:extra-deps
{com.github.seancorfield/expectations {:mvn/version "2.1.186"}
{com.github.seancorfield/expectations {:mvn/version "2.1.187"}
;; assumes Clojure CLI 1.10.3.933 or later:
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
(map (fn [[e a]]
(api/list-node
(list
(api/token-node '=?)
(api/token-node 'expectations.clojure.test/expect)
e
a)))
pairs)))]
Expand Down

0 comments on commit 1debcb9

Please sign in to comment.