diff options
author | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2015-02-28 23:06:24 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2015-02-28 23:06:24 +0200 |
commit | 262119dcc5a64f81829b932cfa204dc1fcf8ae71 (patch) | |
tree | 7c5441c5b48aee2ffb724b3b9873421d6f92d62a /test/cider-tests.el | |
parent | 9520007fd22adb4427f2feb9cf9e8fc85e577a72 (diff) | |
parent | a68fb5b0d9b1505746b6aa4e8bedf96009999413 (diff) |
Merge pull request #995 from cichli/completion-metadata
Add options for configuring completion annotations
Diffstat (limited to 'test/cider-tests.el')
-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")))) |