Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
45448:85b03b1e4715 | 45449:814c7430f828 |
---|---|
1 #require emacs | 1 #require emacs |
2 $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \ | 2 $ emacs -q -no-site-file -batch -l $TESTDIR/../contrib/hg-test-mode.el \ |
3 > -f ert-run-tests-batch-and-exit | 3 > -f ert-run-tests-batch-and-exit |
4 Running 1 tests (*) (glob) | 4 Running 1 tests (*) (glob) |
5 passed 1/1 hg-test-mode--compilation-mode-support | 5 passed 1/1 hg-test-mode--compilation-mode-support* (glob) |
6 | 6 |
7 Ran 1 tests, 1 results as expected (*) (glob) | 7 Ran 1 tests, 1 results as expected* (glob) |
8 | 8 |