branch: elpa/swift-mode commit 391752fe3cd6693229c4f3a0f4dd446a18d28e4d Author: uk-ar <yuuki....@gmail.com> Commit: uk-ar <yuuki....@gmail.com>
Add test case for forward-list & backward-list --- test/indentation-tests.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/indentation-tests.el b/test/indentation-tests.el index 30ec607..60d2ad6 100644 --- a/test/indentation-tests.el +++ b/test/indentation-tests.el @@ -79,6 +79,12 @@ values of customisable variables." (should (equal (point-max) (point))) (forward-sexp -10) (should (equal (point-min) (point))) + + (goto-char (point-min)) + (forward-list 10) + (should (equal (point-max) (point))) + (forward-list -10) + (should (equal (point-min) (point))) ))))) ;; Provide font locking for easier test editing.