Skip to content

Commit

Permalink
Fix the broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
bbatsov committed Jan 5, 2019
1 parent a4ed7a4 commit d50e1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/clojure-mode-indentation-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -238,14 +238,14 @@ values of customisable variables."
(declare (indent 1))
(when (stringp style)
(setq forms (cons style forms))
(setq style 'always-align))
(setq style '(quote always-align)))
`(ert-deftest ,(intern (format "test-backtracking-%s" name)) ()
(progn
,@(mapcar (lambda (form)
`(with-temp-buffer
(clojure-mode)
(insert "\n" ,(replace-regexp-in-string "\n +" "\n " form))
(let ((clojure-indent-style (quote ,style)))
(let ((clojure-indent-style ,style))
(indent-region (point-min) (point-max)))
(should (equal (buffer-string)
,(concat "\n" form)))))
Expand Down

0 comments on commit d50e1fa

Please sign in to comment.