From cbcb14cda38e8bfdee47c1633b6bc77aa59bf1e4 Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Thu, 26 Oct 2017 13:52:24 -0700 Subject: [PATCH] Note (potentially) breaking change in how namespaces should be used Now that expect is part of expectations.clojure.test -- and it's _different_ to expectations/expect -- it is important not to refer in the latter. For convenience, all of the public symbols in expectations are now available directly in expectations.clojure.test so you only need to rely on one namespace. However, if you are just referring defexpect from e.c.t then your code will break since expect is now a macro, not just a symbol that gets translated by defexpect. --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36314db..73526c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changes in version 2.2.0 -Add support for `clojure.test` via the new `expectations.clojure.test` namespace and the `defexpect` macro #82. Add `expecting` documentation macro (like `clojure.test/testing`). +Add support for `clojure.test` via the new `expectations.clojure.test` namespace and the `defexpect` macro #82. Add `expecting` documentation macro (like `clojure.test/testing`). You should either use the `expectations` namespace (for unnamed tests) or the `expectations.clojure.test` namespace (for named tests that are compatible with `clojure.test`) -- do not use both namespaces. Add `approximately` predicate, to test if two floating point values are "equal" (within a given tolerance) #84.