tests: make emacs test less strict
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 11 Sep 2020 09:55:08 -0700
changeset 45449 814c7430f828
parent 45448 85b03b1e4715
child 45450 47d10ade5bc4
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
tests/test-contrib-emacs.t
--- 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)