Skip to content

Commit

Permalink
Fix cider-test-rerun-failed-tests (#3485)
Browse files Browse the repository at this point in the history
Fixes #3484

This was a bug introduced in 74be055
  • Loading branch information
vemv authored Sep 27, 2023
1 parent 52243cf commit 48d5fbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cider-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,11 @@ running them."
;; we generate a different message when running individual tests
(cider-test-echo-running ns (car tests))
(cider-test-echo-running ns)))
(let ((retest? (eq :non-passing ns))
(request `("op" ,(cond ((stringp ns) "test")
((eq :project ns) "test-all")
((eq :loaded ns) "test-all")
(retest? "retest")))))
(let* ((retest? (eq :non-passing ns))
(request `("op" ,(cond ((stringp ns) "test")
((eq :project ns) "test-all")
((eq :loaded ns) "test-all")
(retest? "retest")))))
;; we add optional parts of the request only when relevant
(when (and (listp include-selectors) include-selectors)
(setq request (append request `("include" ,include-selectors))))
Expand Down

0 comments on commit 48d5fbd

Please sign in to comment.