This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-16
Channels
- # announcements (1)
- # architecture (319)
- # babashka (27)
- # beginners (101)
- # biff (1)
- # calva (30)
- # cider (6)
- # clj-kondo (38)
- # clojure (41)
- # clojure-boston (1)
- # clojure-europe (80)
- # clojure-nl (1)
- # clojure-norway (21)
- # clojure-uk (4)
- # community-development (7)
- # conjure (1)
- # data-science (18)
- # datalevin (6)
- # datascript (30)
- # datomic (2)
- # events (2)
- # fulcro (1)
- # graalvm (3)
- # holy-lambda (2)
- # hyperfiddle (10)
- # jobs (3)
- # lsp (2)
- # malli (9)
- # matcher-combinators (3)
- # missionary (72)
- # nbb (40)
- # off-topic (1)
- # other-languages (14)
- # planck (5)
- # re-frame (2)
- # releases (4)
- # rewrite-clj (22)
- # shadow-cljs (3)
- # sql (2)
- # squint (17)
- # yamlscript (1)
#matcher-combinators
<
2024-04-16Hi, I was wondering if there's a setting I can turn on so that match?
plays nicely with CIDER. In spacemacs I get this output for this test:
(deftest foo
(is (match? "abc" "def")))
Then , t t
on it (run the test), inside the test output buffer:
Test Summary
api.api-test 1 ms
foo 1 ms
Tested 1 namespaces in 1 ms
Ran 1 assertions, in 1 test functions
1 failures
cider-test-fail-fast: t
Results
api.api-test
1 non-passing tests:
Fail in foo
expected: (match? "abc" "def")
actual: (mismatch (expected abc) (actual def)) ;; <--- missing string quotes
➕ 2