summaryrefslogtreecommitdiff
path: root/cider-test.el
diff options
context:
space:
mode:
authordpsutton <dpsutton@users.noreply.github.com>2017-01-22 19:27:23 -0600
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-01-23 08:27:23 +0700
commitefe15912fa66c4f7547e223d3b7ed7142572e059 (patch)
tree1f36087df47ed39e837aea0a57146b46a1f9ae37 /cider-test.el
parent04e428ba4d1c2d446726fc77238a8fcd78903950 (diff)
Remove session from nrepl interaction (#1925)
Connection and session are inextricably linked. Rather than try to thread these two in lockstep throughout the whole request life cycle, we let the last step insert either the nrepl-session or the nrepl-tooling-session.
Diffstat (limited to 'cider-test.el')
-rw-r--r--cider-test.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/cider-test.el b/cider-test.el
index 8aa7a4d2..e5b8570e 100644
--- a/cider-test.el
+++ b/cider-test.el
@@ -262,7 +262,7 @@ prompt and whether to use a new window. Similar to `cider-find-var'."
(let (causes)
(cider-nrepl-send-request
(append
- (list "op" "test-stacktrace" "session" (cider-current-session)
+ (list "op" "test-stacktrace"
"ns" ns "var" var "index" index)
(when (cider--pprint-fn)
(list "pprint-fn" (cider--pprint-fn)))
@@ -594,8 +594,7 @@ If SILENT is non-nil, suppress all messages other then test results."
"tests" (when (stringp ns) tests)
"load?" (when (or (stringp ns)
(eq :project ns))
- "true")
- "session" (cider-current-session))
+ "true"))
(lambda (response)
(nrepl-dbind-response response (summary results status out err)
(cond ((member "namespace-not-found" status)