D5417: rust: translated random test of missingancestors

Yuya Nishihara yuya at tcha.org
Fri Dec 14 22:28:24 EST 2018


>   In case of a failed example, all needed information
>   for reproduction is included in the panic message,
>   so that we don't need to
>   seed the random generator explicitely. This is how
>   `test_remove_ancestors_from_case1()` has been generated.

Can we turn this into a utility command? I don't think it's good idea to
include random data in module tests. We'll probably want to loop it over
various seeds to find interesting graphs.


More information about the Mercurial-devel mailing list