Mercurial > hg
view tests/test-contrib-emacs.t @ 42899:f461b65866e9
run-tests: extract a `process_out_line` from the main function
The main function doing line comparison is quite complex. Slicing it in smaller
piece should clarify it.
To avoid a huge diff, the code is kept at the same indentation. We'll re-indent
in the next changesets.
(This is a gratuitous cleanup that I made while investigating a bug).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 14 Jun 2019 17:37:04 +0100 |
parents | 19979b8b87e2 |
children | 814c7430f828 |
line wrap: on
line source
#require emacs $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \ > -f ert-run-tests-batch-and-exit Running 1 tests (*) (glob) passed 1/1 hg-test-mode--compilation-mode-support Ran 1 tests, 1 results as expected (*) (glob)