Skip to content

Commit

Permalink
Fix indentation tests, by always loading js2-old-indent
Browse files Browse the repository at this point in the history
  • Loading branch information
dgutov committed Jul 18, 2015
1 parent 494c421 commit c9a1cde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -22,5 +22,5 @@ js2-imenu-extras.elc: js2-mode.elc
${EMACS} $(BATCHFLAGS) -l ./js2-mode.elc -f batch-byte-compile $*.el

test:
${EMACS} $(BATCHFLAGS) -l js2-mode.el -l tests/parser.el\
${EMACS} $(BATCHFLAGS) -l js2-mode.el -l js2-old-indent.el -l tests/parser.el\
-l tests/indent.el -l tests/externs.el -f ert-run-tests-batch-and-exit
1 change: 1 addition & 0 deletions tests/indent.el
Expand Up @@ -22,6 +22,7 @@
(require 'ert)
(require 'js2-mode)
(require 'cl-lib)
(require 'js2-old-indent)

(defun js2-test-indent (content keep-indent)
(let ((s (replace-regexp-in-string "^ *|" "" content)))
Expand Down

0 comments on commit c9a1cde

Please sign in to comment.