File tree 6 files changed +28
-14
lines changed
6 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,13 @@ default: &default-steps
9
9
- run : make elpa
10
10
- run : emacs --version
11
11
- run : cask --version
12
+ - run : make unit
12
13
- run : make test
13
14
# Make sure to run test-checks before test-bytecomp, as test-bytecomp autogenerates
14
15
# files which won't pass test-checks.
15
- - run : make test-checks
16
- - run : make test-bytecomp
16
+ # disabled - see https://github.com/clojure-emacs/clj-refactor.el/issues/491
17
+ # - run: make test-checks
18
+ # - run: make test-bytecomp
17
19
18
20
# Enumerated list of Emacs versions
19
21
jobs :
Original file line number Diff line number Diff line change 5
5
6
6
(development
7
7
(depends-on " ecukes" )
8
- (depends-on " espuds" ))
8
+ (depends-on " espuds" )
9
+ (depends-on " buttercup" ))
Original file line number Diff line number Diff line change 31
31
test : $(PKGDIR )
32
32
$(CASK ) exec ecukes --no-win
33
33
34
+ unit :
35
+ $(CASK ) exec buttercup -L .
36
+
34
37
test-checks :
35
38
$(CASK ) exec $(EMACS ) --no-site-file --no-site-lisp --batch \
36
39
-l test/test-checks.el ./
Original file line number Diff line number Diff line change
1
+ (provide 'feature )
Original file line number Diff line number Diff line change 15
15
(setq checkdoc-arguments-in-order-flag nil )
16
16
(setq checkdoc-verb-check-experimental-flag nil )
17
17
18
- (let ((files (directory-files default-directory t
19
- " \\ `[^.].*\\.el\\' " t )))
18
+ (when nil ; ; See https://github.com/clojure-emacs/clj-refactor.el/issues/491
19
+ (let ((files (directory-files default-directory t
20
+ " \\ `[^.].*\\.el\\' " t )))
20
21
21
- ; ; `checkdoc-file' was introduced in Emacs 25
22
- (when (fboundp 'checkdoc-file )
23
- (dolist (file files )
24
- (checkdoc-file file))
25
- (when (get-buffer " *Warnings*" )
26
- (message " Failing due to checkdoc warnings... " )
27
- (kill-emacs 1 )))
22
+ ; ; `checkdoc-file' was introduced in Emacs 25
23
+ (when (fboundp 'checkdoc-file )
24
+ (dolist (file files )
25
+ (checkdoc-file file))
26
+ (when (get-buffer " *Warnings*" )
27
+ (message " Failing due to checkdoc warnings... " )
28
+ (kill-emacs 1 )))
28
29
29
- (when (apply #'check-declare-files files )
30
- (kill-emacs 1 )))
30
+ (when (apply #'check-declare-files files )
31
+ (kill-emacs 1 ) )))
Original file line number Diff line number Diff line change
1
+ (require 'paredit )
2
+ (require 'clj-refactor )
3
+
4
+ (describe " cljr--ns-name"
5
+ (expect (cljr--ns-name " com.corp.foo" ) :to-be " foo" )
6
+ (expect (cljr--ns-name " foo" ) :to-be " foo" ))
You can’t perform that action at this time.
0 commit comments