Maybe this one fixes the test?

This commit is contained in:
Carlo Sciolla 2019-05-21 17:34:43 +02:00
parent a4a9f7b89f
commit a0d37dc35f
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
1 changed files with 3 additions and 3 deletions

View File

@ -53,15 +53,15 @@ Finally, the indented text in the buffer will be compared with AFTER."
(with-temp-buffer
;; fix the JAR location prior to mode initialization
;; for some reason, plantuml-mode disregards the setq-local
(setq-local plantuml-jar-path plantuml-test-jar-path)
(setq plantuml-jar-path plantuml-test-jar-path)
(plantuml-init-once)
(insert before)
(goto-char (point-min))
(plantuml-mode)
;; use 2 spaces instead of one tab for indentation
(setq-local indent-tabs-mode nil)
(setq-local tab-width 2)
(setq indent-tabs-mode nil)
(setq tab-width 2)
(indent-region (point-min) (point-max))
(should (equal (buffer-string) after))))