Skip to content

Commit

Permalink
Fix "test current" namespace context
Browse files Browse the repository at this point in the history
It wasn't being specified so `resolve` sometimes picked the wrong var
(or no var at all).
  • Loading branch information
Olical committed Jun 22, 2020
1 parent 129df1b commit e2b07b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fnl/conjure/client/clojure/nrepl/action.fnl
Expand Up @@ -369,7 +369,8 @@
{:break? true})
(require-ns "clojure.test")
(server.eval
{:code (.. "(clojure.test/test-var (resolve '" test-name "))")}
{:code (.. "(clojure.test/test-var (resolve '" test-name "))")
:ns (extract.context)}
(server.with-all-msgs-fn
(fn [msgs]
(if (and (= 2 (a.count msgs))
Expand Down

0 comments on commit e2b07b8

Please sign in to comment.