Allow custom jar location for test execution

Tests are still broken though
This commit is contained in:
Carlo Sciolla 2018-08-16 09:22:47 +02:00
parent da2c301c1a
commit 5c8a95850b
No known key found for this signature in database
GPG Key ID: BA5D71E6F3C580C1
1 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,11 @@ values of customisable variables."
(expected-state (delete ?| after))
,@var-bindings)
(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)
(plantuml-init-once)
(insert ,before)
(goto-char (point-min))
(search-forward "|")
@ -46,7 +51,7 @@ values of customisable variables."
"|Nobody -> [APIGateway]")
(check-indentation package-block
"package APackage {
"package APackage {
|A -> B
}" "package APackage {
|A -> B