tests/README
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 20 Jul 2018 09:53:54 -0700
changeset 38886 f3d394ea17db
parent 26421 4b0fc75f9403
permissions -rw-r--r--
index: handle index[-1] as nullid more explicitly I find it more intuitive to check if "pos == -1" than to first add the index length (which includes one extra item for the nullid) and compare that to "length - 1". However, because test-parseindex2.py compares the whole index (up to len(index)-1), we need to also preserve that other check for a little while more. I'll remove it soon. Differential Revision: https://phab.mercurial-scm.org/D4018

To run the tests, do:

cd tests/
python run-tests.py

See https://mercurial-scm.org/wiki/WritingTests for
more information on writing tests.