We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clojure-expected-ns
1 parent f9758bc commit c1442b2Copy full SHA for c1442b2
clojure-mode-util-test.el
@@ -42,7 +42,16 @@
42
(cl-letf (((symbol-function 'clojure-project-relative-path)
43
(lambda (&optional current-buffer-file-name)
44
project-relative-clj-file-path)))
45
- (should (string= (clojure-expected-ns clj-file-path) clj-file-ns)))))
+ (should (string= (clojure-expected-ns clj-file-path) clj-file-ns))))
46
+
47
+ (ert-deftest expected-ns-without-argument ()
48
+ :tags '(utils)
49
+ (cl-letf (((symbol-function 'clojure-project-relative-path)
50
+ (lambda (&optional current-buffer-file-name)
51
+ project-relative-clj-file-path)))
52
+ (should (string= (let ((buffer-file-name clj-file-path))
53
+ (clojure-expected-ns))
54
+ clj-file-ns)))))
55
56
(provide 'clojure-mode-util-test)
57
0 commit comments