Mercurial > hg
diff tests/test-contrib-emacs.t @ 45449:814c7430f828
tests: make emacs test less strict
It was failing like this for me:
```
@@ -2,7 +2,7 @@
$ 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
+ passed 1/1 hg-test-mode--compilation-mode-support (0.045732 sec)
- Ran 1 tests, 1 results as expected (*) (glob)
+ Ran 1 tests, 1 results as expected, 0 unexpected (2020-09-11 16:49:56+0000, 0.046034 sec)
```
Differential Revision: https://phab.mercurial-scm.org/D9017
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 11 Sep 2020 09:55:08 -0700 |
parents | 19979b8b87e2 |
children |
line wrap: on
line diff
--- a/tests/test-contrib-emacs.t Thu Sep 10 13:12:34 2020 -0700 +++ b/tests/test-contrib-emacs.t Fri Sep 11 09:55:08 2020 -0700 @@ -2,7 +2,7 @@ $ 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 + passed 1/1 hg-test-mode--compilation-mode-support* (glob) - Ran 1 tests, 1 results as expected (*) (glob) + Ran 1 tests, 1 results as expected* (glob)