branch: elpa/adoc-mode commit d80b29ebc93e24109db3d9be3eb7bbdc9d88bed4 Author: Florian Kaufmann <sensor...@gmail.com> Commit: Florian Kaufmann <sensor...@gmail.com>
test: bugfix: point was wronly positioned in adoctest-trans --- adoc-mode-test.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/adoc-mode-test.el b/adoc-mode-test.el index d91ed4915f..70ec52bb9b 100644 --- a/adoc-mode-test.el +++ b/adoc-mode-test.el @@ -90,7 +90,7 @@ (adoc-mode) (insert original-text) (when pos - (goto-char pos)) + (goto-char (1+ pos))) ; buffer pos starts at 1, but string pos at 0 ;; exercise (eval transform) ;; verify @@ -650,7 +650,8 @@ ;; todo: execute tests in an smart order: the basic/simple tests first, so ;; when a complicated test fails one knows that the simple things do work (adoc-test-save-compile-load) - (ert-run-tests-interactively "^adoctest-test-")) + (ert-run-tests-interactively "^adoctest-test-") + ) (when (file-exists-p "adoc-mode.elc") (delete-file "adoc-mode.elc")) (when (file-exists-p "adoc-mode-test.elc")