Skip to content

Commit 002a82d

Browse files
author
Carlos Requena López
committed
[Fix #506] Makes display version command return the actual version
`clojure-mode-display-version` displays the correct version (was displaying nil) also added some tests
1 parent 2cf589c commit 002a82d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clojure-mode-util-test.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
(require 'cl-lib)
2727
(require 'ert)
2828

29+
30+
(ert-deftest clojure-mode-version-should-be-non-nil ()
31+
(should (not (eq clojure-mode-version nil))))
32+
2933
(let ((project-dir "/home/user/projects/my-project/")
3034
(clj-file-path "/home/user/projects/my-project/src/clj/my_project/my_ns/my_file.clj")
3135
(project-relative-clj-file-path "src/clj/my_project/my_ns/my_file.clj")

0 commit comments

Comments
 (0)