Command changed, need to sync up the test

This commit is contained in:
Carlo Sciolla 2018-08-14 21:42:28 +02:00
parent 9445f0db7d
commit 4f4b8ffe91
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
1 changed files with 3 additions and 2 deletions

View File

@ -11,11 +11,12 @@
(ert-deftest custom-jar-location ()
(setq-local plantuml-jar-path "~/.plantuml/plantuml.jar")
(should (equal `("-Djava.awt.headless=true" "-jar"
,(expand-file-name "~/.plantuml/plantuml.jar"))
,(expand-file-name "~/.plantuml/plantuml.jar")
"-charset" "UTF-8")
(plantuml-render-command)))
(setq-local plantuml-jar-path "/path/with spaces/plantuml.jar")
(should (equal `("-Djava.awt.headless=true" "-jar" "/path/with spaces/plantuml.jar")
(should (equal `("-Djava.awt.headless=true" "-jar" "/path/with spaces/plantuml.jar" "-charset" "UTF-8")
(plantuml-render-command))))
(provide 'plantuml-mode-custom-jar-location-test)