summaryrefslogtreecommitdiff
path: root/test/cider-apropos-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/cider-apropos-tests.el')
-rw-r--r--test/cider-apropos-tests.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cider-apropos-tests.el b/test/cider-apropos-tests.el
index 63767cf8..9bd0502f 100644
--- a/test/cider-apropos-tests.el
+++ b/test/cider-apropos-tests.el
@@ -34,17 +34,17 @@
(describe "cider-apropos"
(it "raises user-error when cider is not connected."
(spy-on 'cider-connected-p :and-return-value nil)
- (expect (lambda () (cider-apropos "test")) :to-throw 'user-error))
+ (expect (cider-apropos "test") :to-throw 'user-error))
(it "raises user-error when the `apropos' op is not supported."
(spy-on 'cider-ensure-op-supported :and-return-value nil)
- (expect (lambda () (cider-apropos "test")) :to-throw 'user-error)))
+ (expect (cider-apropos "test") :to-throw 'user-error)))
(describe "cider-apropos-documentation"
(it "raises user-error when cider is not connected."
(spy-on 'cider-connected-p :and-return-value nil)
- (expect (lambda () (cider-apropos-documentation)) :to-throw 'user-error))
+ (expect (cider-apropos-documentation) :to-throw 'user-error))
(it "raises user-error when the `apropos' op is not supported."
(spy-on 'cider-ensure-op-supported :and-return-value nil)
- (expect (lambda () (cider-apropos-documentation)) :to-throw 'user-error)))
+ (expect (cider-apropos-documentation) :to-throw 'user-error)))