test-lfs: cast the flags printed to an int
authorMatt Harbison <matt_harbison@yahoo.com>
Tue, 14 Nov 2017 01:09:48 -0500
changeset 35101 eb4241f914a3
parent 35100 07e97998d385
child 35102 ec7f0bb95277
test-lfs: cast the flags printed to an int On Windows, the flag values in the subsequent tests were printing with a 'L' suffix.
tests/test-lfs.t
--- a/tests/test-lfs.t	Tue Nov 14 01:03:22 2017 -0500
+++ b/tests/test-lfs.t	Tue Nov 14 01:09:48 2017 -0500
@@ -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))