# HG changeset patch # User Matt Harbison # Date 1606016769 18000 # Node ID eff26a0f664f62884108f8cc4ab84a17f882f36f # Parent 2960b7fac966193436266a02230f3bc996e768bd tests: use `testrepohg` in one more place in test-check-code.t This is already used elsewhere in the test to access the current hg repo, and avoids an error about the unknown `revlog-compression-zstd` when C extensions aren't built. The only other such error is in test-check-interfaces.py, but I don't see a way to avoid it other than to create an empty scratch repo. Differential Revision: https://phab.mercurial-scm.org/D9364 diff -r 2960b7fac966 -r eff26a0f664f tests/test-check-code.t --- a/tests/test-check-code.t Sat Nov 21 16:20:49 2020 -0500 +++ b/tests/test-check-code.t Sat Nov 21 22:46:09 2020 -0500 @@ -90,6 +90,6 @@ Keep Windows line endings in check - $ hg files 'set:eol(dos)' + $ testrepohg files 'set:eol(dos)' contrib/win32/hg.bat contrib/win32/mercurial.ini