Re: Help with strange test output when deftest used inside a macro

2017-10-10 Thread Matt Grimm
e a dynamic var to setup your config information. > Or better yet have the test itself read the config data the way your normal > app would. This not only exercises the same config codepaths, but it also > keeps the code quite functional. > > On Mon, Oct 9, 2017 at 2:40 PM, Matt G

Help with strange test output when deftest used inside a macro

2017-10-09 Thread Matt Grimm
Hello, I'm generating deftest's using a helper macro that takes a variety of test parameters and though the tests function correctly, the output of a failed test is not exactly right. The expect value is shown as the un-evaluated test form, and the actual value is shown as the result of evaluat

Re: Reducers exception when calling into

2017-05-12 Thread Matt Grimm
Thanks very much for the quick response. From your hints, I tried switching uses of into to r/foldcat and it worked. On Thursday, May 11, 2017 at 4:44:37 PM UTC-6, Alex Miller wrote: > > The symptoms sound like you are running into a case where there are > multiple protocol branches that apply

Reducers exception when calling into

2017-05-11 Thread Matt Grimm
Hi, I've run into a bizarre issue with reducers that is consistently reproducible, but only on one set of systems. On a separate system with the same OS and java, the error is not reproducible. The exception messages seem to indicate that I've tried to access a reducible like a seq before doin