Mercurial > hg
comparison tests/test-contrib-emacs.t @ 41788:19979b8b87e2
tests: add test for hg-test-mode emacs code
This is just coverage for the compilation-mode support, but that was
enough of a hassle that I wanted to have it covered somehow. Test
methodology is _extremely_ cargo-culted from the test for
compilation-mode in emacs, so I still have no idea what I'm doing.
Differential Revision: https://phab.mercurial-scm.org/D6003
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 21 Feb 2019 23:07:54 -0500 |
parents | |
children | 814c7430f828 |
comparison
equal
deleted
inserted
replaced
41787:2a6ca0d94b70 | 41788:19979b8b87e2 |
---|---|
1 #require emacs | |
2 $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \ | |
3 > -f ert-run-tests-batch-and-exit | |
4 Running 1 tests (*) (glob) | |
5 passed 1/1 hg-test-mode--compilation-mode-support | |
6 | |
7 Ran 1 tests, 1 results as expected (*) (glob) | |
8 |