Fork me on GitHub
#calva
<
2021-04-27
>
flowthing12:04:39

Given a test like this:

(deftest foo
  (is (= #{1 2 3} #{1 2 4})))
Running it in Calva prints a result like this:
; FAIL in my.ns/foo (ns.clj:42):
; expected:
#{1 3 2}
; actual:
(#{1 4 2})
Note the somewhat confusing extra parens around the actual result. Is this expected behavior, or should I file an issue?

pez13:04:56

Both. 😃 Are those not there when you use CIDER?

flowthing13:04:57

I don’t use CIDER, so :man-shrugging::skin-tone-2: . But OK, I’ll make an issue.

pez13:04:20

Oh, I thought you where. 😃 Anyway, I think this is an issue on cider-nrepl, but good to have it captured in the Calva issues list.

bringe01:04:25

Indeed it's from cider-nrepl, tracking it here: https://github.com/BetterThanTomorrow/calva/issues/794 And thanks for the report.

1
Stuart17:04:09

I know I can clear the repl history, but is their a way to clear the output window?

Ryan Jerue01:04:31

As in the terminal output?

Stuart01:04:24

no, i meant the output window of the repl.

bringe01:04:06

ctrl+a, delete in the output window. I don't think there's a command for it. I think it's been discussed, but it was determined this is simple enough to avoid adding another command. However, if you think it would be valuable as a command, maybe it should be added. CC @U0ETXRFEW (I don't remember if there was some reason not to add a command besides what I just mentioned.)

pez04:04:46

No other reason. That ought to be simple enough. 😎