Commit a0640470 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

FindCommits tests: direct test for limit=0

This was covered by Gitaly comparison tests, but not
by direct tests. The resulting CI failure was masked
by the temporary incompatibility of hg-evolve stable
with Mercurial stable due to the latter being bumped
to 5.8rc
parent 796f924ea568
......@@ -272,6 +272,7 @@
# when no revision passed; return revs("reverse(::default_tip)")
assert do_rpc() == [sha4, sha3, sha2, sha0]
# with limit
assert do_rpc(limit=0) == []
assert do_rpc(limit=2) == [sha4, sha3]
# with author
assert do_rpc(all=True, author=b"testuser2") == [sha3]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment