]> git.eshelyaron.com Git - emacs.git/commit
Strengthen js-mode indentation tests
authorMattias Engdegård <mattiase@acm.org>
Sun, 18 Oct 2020 13:54:02 +0000 (15:54 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 18 Oct 2020 13:54:02 +0000 (15:54 +0200)
commit9bc5c016a1cbdcb0c29b2deaec1d8156852a3980
treef1dd620c7f01afa438f7d31df5bbd8e563108bc5
parentb7dfae3a8168977013e8de1df0916c51e76e7326
Strengthen js-mode indentation tests

Test not only that the indentation engine is idempotent but that it
will indent a file to the expected shape from scratch.

* test/lisp/progmodes/js-tests.el (js-tests--remove-indentation): New.
(js-deftest-indent): Extend test.
test/lisp/progmodes/js-tests.el