Sorry, wrong link to the unit test that I tried, which should have been: https://github.com/jafingerhut/catch-bad-unit-test/blob/master/test/catchme/core_test.clj#L5-L7
On Thu, Sep 6, 2018 at 7:08 AM Andy Fingerhut <[email protected]> wrote: > Peter: > > I do not know why you are seeing this change in behavior. In order to see > if I could determine why, I created my own unit test based on your > description, but when I run my incorrectly unit test with Clojure > 1.10.0-alpha6 or 1.10.0-alpha7, I get the same results -- no failures, and > no "error: java.lang.Exception: = expects more than one argument" exception > as you are seeing. I am probably doing something too different from your > code. > > I created a tiny test repo on Github with what I tried, here: > https://github.com/jafingerhut/catch-bad-unit-test > > Here is the unit test I tried: > https://github.com/jafingerhut/catch-bad-unit-test > > where the definitions of functions x and y are simply these: > https://github.com/jafingerhut/catch-bad-unit-test/blob/master/src/catchme/core.clj#L3-L7 > > If you have a few minutes to try out the tests in my repo to see if you > get different results than I did, I'd be curious to hear if your results > are different. I'd be more curious to learn of a way to write a unit test > that gives the exception you see with Clojure 1.10.0-alpha7. > > Andy > > > On Thu, Sep 6, 2018 at 4:34 AM Peter Hull <[email protected]> wrote: > >> On Wednesday, 5 September 2018 13:39:36 UTC+1, [email protected] >> wrote: >>> >>> 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6: >>> >> >> I was pleased to see that going from alpha 6 to 7 found an error in one >> of my tests. I had something like >> (is (= (x (func y)))) >> and the new version reports >> >>> error: java.lang.Exception: = expects more than one argument >>> >> >> But (purely for my own interest) I tried to discover which change in >> clojure source made the difference and I couldn't. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
