branch: elpa/swift-mode commit ed1ed46354d636bdf5e6a1c7bad402967ad5685f Author: uk-ar <yuuki....@gmail.com> Commit: uk-ar <yuuki....@gmail.com>
Add test for forward-sexp --- test/indentation-tests.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/indentation-tests.el b/test/indentation-tests.el index 8defb9a..6cbb627 100644 --- a/test/indentation-tests.el +++ b/test/indentation-tests.el @@ -72,7 +72,12 @@ values of customisable variables." (indent-according-to-mode) (should (equal expected-state (buffer-string))) - (should (equal expected-cursor-pos (point)))))))) + (should (equal expected-cursor-pos (point))) + + (goto-char (point-min)) + (forward-sexp 10) + (should (equal (point-max) (point))) + ))))) ;; Provide font locking for easier test editing.