summaryrefslogtreecommitdiff
path: root/test/cider-apropos-tests.el
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2017-08-30 22:07:48 +0200
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-09-05 20:37:45 +0300
commit7a7225929138d13163b96d68fd80b018de357ca0 (patch)
tree66af39e7046cce5847fd5b8298be6a70b09d35fb /test/cider-apropos-tests.el
parent61c1f0b53cb1488fb1d264c890e39bacca0e6bb9 (diff)
Fix tests
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)))