mirror of
https://github.com/skuro/plantuml-mode.git
synced 2024-06-26 07:29:12 +02:00
Command changed, need to sync up the test
This commit is contained in:
parent
9445f0db7d
commit
4f4b8ffe91
|
@ -11,11 +11,12 @@
|
||||||
(ert-deftest custom-jar-location ()
|
(ert-deftest custom-jar-location ()
|
||||||
(setq-local plantuml-jar-path "~/.plantuml/plantuml.jar")
|
(setq-local plantuml-jar-path "~/.plantuml/plantuml.jar")
|
||||||
(should (equal `("-Djava.awt.headless=true" "-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)))
|
(plantuml-render-command)))
|
||||||
|
|
||||||
(setq-local plantuml-jar-path "/path/with spaces/plantuml.jar")
|
(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))))
|
(plantuml-render-command))))
|
||||||
|
|
||||||
(provide 'plantuml-mode-custom-jar-location-test)
|
(provide 'plantuml-mode-custom-jar-location-test)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user