[PATCH 4 of 4] test-lfs: cast the flags printed to an int
Matt Harbison
mharbison72 at gmail.com
Tue Nov 14 22:18:00 EST 2017
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1510639788 18000
# Tue Nov 14 01:09:48 2017 -0500
# Node ID e1c6c9631baed04e9bb29e8da25599ab2590e390
# Parent 6492bdc8a9b8a6304b0fe658d58b5b286043a88f
test-lfs: cast the flags printed to an int
On Windows, the flag values in the subsequent tests were printing with a 'L'
suffix.
diff --git a/tests/test-lfs.t b/tests/test-lfs.t
--- a/tests/test-lfs.t
+++ b/tests/test-lfs.t
@@ -514,7 +514,7 @@
> continue
> sizes = [revlog.revlog.rawsize(fl, i) for i in fl]
> texts = [fl.revision(i, raw=True) for i in fl]
- > flags = [fl.flags(i) for i in fl]
+ > flags = [int(fl.flags(i)) for i in fl]
> hashes = [hash(t) for t in texts]
> print(' %s: rawsizes=%r flags=%r hashes=%r'
> % (name, sizes, flags, hashes))
More information about the Mercurial-devel
mailing list