Skip to content

Show spec examples from cider-nrepl - #81

Merged
bbatsov merged 1 commit into
mainfrom
fix-spec-example
Nov 5, 2026
Merged

bbatsov merged 1 commit into
mainfrom
fix-spec-example

Conversation

@bbatsov

@bbatsov bbatsov commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

With cider-nrepl, x in the spec browser said there was no such spec, whatever the spec. cider-nrepl's spec-example answers under :spec-example, and the fake the tests used answered under :example, so nothing caught it. The Leiningen project in the integration tests now has test.check, so the example from a real cider-nrepl gets checked as well.

cider-nrepl's spec-example op answers with the example under
:spec-example, while neorepl looked for :example, which is what the fake
in the tests sent. So against a real cider-nrepl, x in the spec browser
said there was no such spec, for every spec. The fake now answers as
cider-nrepl 0.64.0 does, and the Leiningen project in the integration
tests gets test.check, so the example from a real cider-nrepl is tested
too, while the deps.edn one still checks what happens without it.
@bbatsov
bbatsov merged commit ad44ba7 into main Nov 5, 2026
20 checks passed
@bbatsov
bbatsov deleted the fix-spec-example branch November 5, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant