Fork me on GitHub
#cursive
<
2016-11-12
>
jarppe08:11:46

@verma Yes, it is. Well spotted 🙂

jarppe09:11:04

@cfleming I don't think that's the case. I have the same in every project, while my colleagues with same setup in same code base don't.

jarppe09:11:51

I can repeat this with lein new some-project without any modifications.

cfleming10:11:35

@jarppe Hmm, that’s odd - there was some discussion on the mailing list about this, and there might be an issue, but I can’t find it right now.

cfleming10:11:41

I’ll see if I can dig it out.

cfleming10:11:29

The telltale part of the issue is that it reports: Expected 1, actual (2) (i.e. the actual value is in a list when it should not be).

cfleming10:11:17

Are you using Humane test output?

jarppe10:11:12

@cfleming No, but something in my ~/.lein/profile.clj is causing this. I removed it and now I get the "Show difference" link and can open the diff dialog.

cfleming10:11:24

What do you have in there?

cfleming10:11:51

If you could narrow it down, or send it over so I can reproduce, that would be great.

jarppe11:11:43

will investigate...

jarppe11:11:33

In :repl :plugins I have [venantius/ultra "0.4.1"]. If I remove that "Show difference" is shown.

jarppe11:11:06

Thanks @cfleming for pointing me to right direction.

cfleming11:11:38

@jarppe Ok, interesting - I’ll try that and see if I can reproduce

jarppe11:11:36

It seems that venantius/ultra uses humane test output, so that could be the problem

jarppe11:11:44

Updated ultra to 0.5.0, same problem.

cfleming11:11:47

@jarppe thanks. I’ll try to debug this to see if I can figure it out. In general, both cursive and humane output monkey patch clojure.test a lot, so the combination is unlikely to be good 🙂

denik15:11:06

They work once, immediately after I typed the var

cfleming17:11:08

@denik I think that’s a CLJC bug

denik17:11:42

@cfleming possibly. Why do you think does it work once right after typing?

cfleming17:11:19

@denik I’m not sure - there are a couple of similar bugs in the CLJC support which I haven’t had time to investigate.

cfleming17:11:35

I will soon though, since it’s been outstanding for a while and they’re very annoying.

denik17:11:00

for reference: @cfleming ^