tests/test-contrib-emacs.t
author Yuya Nishihara <yuya@tcha.org>
Tue, 03 Nov 2020 11:24:21 +0900
branchstable
changeset 45771 81da6feb5000
parent 45460 814c7430f828
permissions -rw-r--r--
chg: reset errno prior to calling strtol() Otherwise we can't figure out if the last strtol() invocation failed or not.

#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* (glob)
  
  Ran 1 tests, 1 results as expected* (glob)