On Jun 29, 6:14 pm, "John D. Hume" <duelin.mark...@gmail.com> wrote:
> There may already have been a discussion about this in IRC, but I
> would have loved to see the 'are' macro continue to support the old
> syntax (maybe with deprecation warnings) as well as the new until
> after 1.1 is released. This change makes it relatively expensive for
> any library with a significant test suite that uses 'are' to keep
> testing with both the current release and the current snapshot of
> clojure and contrib.
You can always checkout the contrib version prior to these breaking
changes for your tests.
(seems to be 3073f0dc0614cb8c95f2debd0b7e6a75c1736ece)
There has been talk on IRC about creating a 1.0-compatible branch, but
so far no-one has taken action. :/
You could also attempt to write a compatibility wrapper that has the
old are syntax, but transforms it into the new are.
If most of your tests are of the form (are (= _1 _2) ...) then it's
only a matter of transforming that to (new-are [_1 _2] (= _1 _2) ...).
--
Jarkko
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---