This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-27
Channels
- # announcements (11)
- # asami (7)
- # babashka (140)
- # beginners (58)
- # calva (12)
- # clj-kondo (5)
- # cljsrn (9)
- # clojure (60)
- # clojure-australia (8)
- # clojure-boston (1)
- # clojure-europe (35)
- # clojure-france (2)
- # clojure-germany (5)
- # clojure-italy (8)
- # clojure-nl (7)
- # clojure-sweden (14)
- # clojure-uk (23)
- # clojurescript (16)
- # community-development (2)
- # cursive (7)
- # datomic (6)
- # docker (1)
- # emacs (4)
- # fulcro (11)
- # graalvm (5)
- # honeysql (6)
- # jobs (6)
- # jobs-discuss (36)
- # lsp (19)
- # malli (7)
- # meander (8)
- # off-topic (18)
- # pathom (16)
- # practicalli (33)
- # re-frame (43)
- # react (2)
- # remote-jobs (11)
- # sci (83)
- # shadow-cljs (55)
- # tools-deps (48)
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?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.
Indeed it's from cider-nrepl, tracking it here: https://github.com/BetterThanTomorrow/calva/issues/794 And thanks for the report.
As in the terminal output?
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.)
I see two reasons why a command would make sense: 1. Discoverability. You are not the first one asking this, @U013YN3T4DA 2. Accessibility. The current way to do it makes you have to leave the file you are editing. The second one is strongest. We do advocate a workflow from within the files. We should consider smoothing that wherever we can.