diff options
author | Michael Griffiths <mikey@cich.li> | 2015-02-28 12:16:55 +0000 |
---|---|---|
committer | Michael Griffiths <mikey@cich.li> | 2015-02-28 20:35:12 +0000 |
commit | a68fb5b0d9b1505746b6aa4e8bedf96009999413 (patch) | |
tree | 7c5441c5b48aee2ffb724b3b9873421d6f92d62a /test | |
parent | 7bb25903fa1f346ae71e814cbe4d17cd6a649473 (diff) |
Add options for configuring completion annotations
Diffstat (limited to 'test')
-rw-r--r-- | test/cider-tests.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/cider-tests.el b/test/cider-tests.el index 88c6ec9a..70ab4685 100644 --- a/test/cider-tests.el +++ b/test/cider-tests.el @@ -547,3 +547,14 @@ (should (equal (funcall cider-to-nrepl-filename-function unix-file-name) windows-file-name))) (and (should (eq (funcall cider-from-nrepl-filename-function unix-file-name) unix-file-name)) (should (eq (funcall cider-to-nrepl-filename-function unix-file-name) unix-file-name)))))) + + +;;; Util tests + +(ert-deftest cider-namespace-qualified-p-test () + (should (cider-namespace-qualified-p "a/a")) + (should (cider-namespace-qualified-p "a.a/a")) + (should (cider-namespace-qualified-p "a-a/a")) + (should (cider-namespace-qualified-p "a.a-a/a-a")) + (should (not (cider-namespace-qualified-p "/"))) + (should (not (cider-namespace-qualified-p "/a")))) |