summaryrefslogtreecommitdiff
path: root/test/cider-client-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/cider-client-tests.el')
-rw-r--r--test/cider-client-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cider-client-tests.el b/test/cider-client-tests.el
index 2206dc47..65603606 100644
--- a/test/cider-client-tests.el
+++ b/test/cider-client-tests.el
@@ -438,7 +438,7 @@
(expect (cider-ensure-connected) :to-equal nil))
(it "raises a user-error in the absence of a connection"
(spy-on 'cider-connected-p :and-return-value nil)
- (expect (lambda () (cider-ensure-connected)) :to-throw 'user-error)))
+ (expect (cider-ensure-connected) :to-throw 'user-error)))
(describe "cider-ensure-op-supported"
(it "returns nil when the op is supported"
@@ -446,7 +446,7 @@
(expect (cider-ensure-op-supported "foo") :to-equal nil))
(it "raises a user-error if the op is not supported"
(spy-on 'cider-nrepl-op-supported-p :and-return-value nil)
- (expect (lambda () (cider-ensure-op-supported "foo"))
+ (expect (cider-ensure-op-supported "foo")
:to-throw 'user-error)))
(describe "cider-expected-ns"