From b0be4182fbfbf4de2f38a419a9cb8a8041dbb1b3 Mon Sep 17 00:00:00 2001 From: Carlo Sciolla Date: Wed, 21 Aug 2019 14:27:26 +0200 Subject: [PATCH] Fix tests --- plantuml-mode.el | 2 +- test/plantuml-mode-custom-jar-location-test.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plantuml-mode.el b/plantuml-mode.el index b0419dd..bea7c09 100644 --- a/plantuml-mode.el +++ b/plantuml-mode.el @@ -92,7 +92,7 @@ (defvar plantuml-mode-hook nil "Standard hook for plantuml-mode.") -(defconst plantuml-mode-version "20190821.1011" "The plantuml-mode version string.") +(defconst plantuml-mode-version "20190821.1227" "The plantuml-mode version string.") (defvar plantuml-mode-debug-enabled nil) diff --git a/test/plantuml-mode-custom-jar-location-test.el b/test/plantuml-mode-custom-jar-location-test.el index 77df757..0da9fc4 100644 --- a/test/plantuml-mode-custom-jar-location-test.el +++ b/test/plantuml-mode-custom-jar-location-test.el @@ -10,13 +10,13 @@ (ert-deftest custom-jar-location () (setq-local plantuml-jar-path "~/.plantuml/plantuml.jar") - (should (equal `("-Djava.awt.headless=true" "-jar" + (should (equal `("-Djava.awt.headless=true" "-jar" "--illegal-access=deny" ,(expand-file-name "~/.plantuml/plantuml.jar") "-charset" "UTF-8") (plantuml-jar-render-command))) (setq-local plantuml-jar-path "/path/with spaces/plantuml.jar") - (should (equal `("-Djava.awt.headless=true" "-jar" "/path/with spaces/plantuml.jar" "-charset" "UTF-8") + (should (equal `("-Djava.awt.headless=true" "-jar" "--illegal-access=deny" "/path/with spaces/plantuml.jar" "-charset" "UTF-8") (plantuml-jar-render-command)))) (provide 'plantuml-mode-custom-jar-location-test)